niumainframe / webjcl

Web-based IBM mainframe IDE.
15 stars 12 forks source link

Indicator for cursor's column position #27

Closed scvnc closed 10 years ago

scvnc commented 11 years ago

This should probably be 1-based because I think the course material assumes this. Would be nice to have an option to make it 0-based (what it reports by default.)

Probably how to do it:

var ed = get_ace_editor_instance_somehow();
ed.on("changeSelection", function() { 
    console.log(ed.getCursorPosition().column); 
});
scvnc commented 10 years ago

Student feature request came in on this

"Column numbering should be added. I constantly need to align the text to columns 10, 16, and also need to make sure I have not exceeded column 71 for the comments!"

scvnc commented 10 years ago

Fixed in 88596e4