Florian Balmer wrote:
I've come across a problem with SCI_LINETRANSPOSE:
If the line containing the cursor is a blank line, the command doesn't
work, i.e. the blank line won't be swapped with the line above. No
problem with non-blank lines.
I tried tracking this down using a debug build of SciTE, but I didn't
manage to find the offending spot.
Tested with Scintilla/SciTE 1.73 on Windows XP SP2.
Looking at the code of Editor::LineTranspose() in Editor.cxx, if
LineStart(line) and LineEnd(line) give the same value for an empty
line, then indeed, nothing will happen... I don't know if this is the
case or not (but it looks like it is).
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest