SourceForge has been redesigned. Learn more.
Close

#808 Glitches if file contains U+2028 (LINE SEPARATOR)

closed-wont-fix
nobody
General (289)
5
2012-11-06
2012-01-13
No

Geany 0.21.
Geany behaves improperly when editing files which contain Unicode character U+2028 (LINE SEPARATOR). Line wrapping may not work, also these characters can't be easily deleted (placing cursor at the end of line and pressing Del doesn't work).
How to reproduce:
* Take some text file which contains multiple long lines.
* Replace newlines with U+2028 characters.
* Open it in Geany.
* Try to delete these "newlines".

Discussion

  • Lex Trotman

    Lex Trotman - 2012-01-18

    Scintilla (and therefore Geany) only recognises ASCII NLF as line ends not the Unicode LS.

    LS displays as a return to the start of the line and "overtypes" albeit with some artifacts. The LS correctly deletes when the cursor is before it.

    Problem submitted to Scintilla.

     
  • Lex Trotman

    Lex Trotman - 2012-01-19

    Scintilla response is that, relative to CRLF line ends, searching for this is a significant performance hit. They will accept a patch but probably will require it to be able to be disabled if it causes too much of a performance hit.

     
  • Lex Trotman

    Lex Trotman - 2012-09-06

    No patch provided.

     
  • Lex Trotman

    Lex Trotman - 2012-09-06
    • status: open --> pending
     
  • Lex Trotman

    Lex Trotman - 2012-11-06
    • status: pending --> closed-wont-fix
     

Log in to post a comment.