herbert breunung:

> another feature suggestion: i saw on a commercial new mac editor 
> a cool feature that became practical if
> you handle a lot with blocks of similar looking code like when you 
> code GUI stuff. in the demo they selected 5 lines in a column and 
> hat 5 cursors above each other so they could type in the same code 
> in 5 lines at the same time. are impressed ? :) :)

   This has been reported in other widgets before, notably CodeMax. It
doesn't strike me as a great feature but if someone wants to implement
it as an option then it can probably go in. The reason it could cause
trouble is that currently there is exactly one caret position in
Scintilla even for rectangular selections and applications may depend
on that behaviour. Once you have multiple carets then only allowing in
one block is a bit restrictive: you could implement global replace by
having a global search that highlights with a caret each occurrence of
the search string: typing would replace all the matches.

   Neil

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to