Menu

#1038 Highlighting the active folding block

Undefined
open
nobody
Feature_Request
2021-12-18
2020-11-24
Ramzy
No

Hi everyone,

In regard to the following forum topic, I am creating this feature request ticket. I am looking for a way to add a highlighting color option for the active fold when the caret is inside it (i.e., to color the margin's folding line when the caret is inside the folding region). It is the red line on the left in the following website attached images. This website also contains the patch pushed to Scintilla to implement the option.

The Scintilla feature can be enabled by using: SCI_MARKERENABLEHIGHLIGHT.

The option to be added to the editor, I think, is: [editor:MarkerEnableHighlight(bool enabled) -- Enable/disable highlight for current folding block (smallest one that contains the caret)]. This can be found in Scintilla's API documentation here.

I also found the same option in wxWidgets here.

Thank you very much!

Discussion

  • Teodor Petrov

    Teodor Petrov - 2021-08-15
    • labels: Folding --> Folding, Editor, Scintilla
     
  • Ramzy

    Ramzy - 2021-12-18

    Hi,

    Is there any update on this feature please?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.