Menu

#1245 Add option to highlight only sub-line

Duplicate
closed
scintilla (300)
5
2019-12-07
2018-11-28
Zufu Liu
No

Currently when highlight caret line is enabled (SCI_SETCARETLINEVISIBLE(true)), all sub-lines is highlighted for wrapped line.

In some cases, it's might better to highlight only the sub-line that contains caret. So "caret line" (or "current line") refer to a on screen line that contains caret, with fixed "one line" height regardless of wrapping.

If a wrapped line contains too many sub-lines, drawing a large frame or bacground rectange may lose the purpose of highlighting.

Application like VS and VSCode only hightlight sub-line.

Related: https://sourceforge.net/p/scintilla/feature-requests/1240/

Discussion

  • Zufu Liu

    Zufu Liu - 2018-11-28

    Please change the title to "Add new option to enable only highlight sub-line" or similar.

     
  • Neil Hodgson

    Neil Hodgson - 2018-11-28
    • summary: Highlight only sub-line --> Add option to highlight only sub-line
     
  • Neil Hodgson

    Neil Hodgson - 2019-02-03
    • labels: --> scintilla
    • Group: Completed --> Duplicate
     
  • Neil Hodgson

    Neil Hodgson - 2019-12-07
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB