Hiding the first line

10 views
Skip to first unread message

Neil Hodgson

unread,
Aug 25, 2021, 6:03:29 PM8/25/21
to Scintilla mailing list
   For the filtered view feature in SciTE, the first line should be hidden if the search string does not occur on it. This was previously impossible as Scintilla refused to hide the first line. The restriction was due to line hiding originally being part of folding where the fold structure is a tree that depends on a visible root. A filtered view is ‘flat’ with no tree structure so its less problematic to hide the first line.

   A change set has been committed that allows the first line to be hidden. It is also possible now to hide all lines in the document. There may be bugs here, particularly when folding is active and lines are hidden in a way that clashes with the folding structure. For SciTE, filtering is a mode that is distinct from folding with the document first being completely unfolded and the fold margin hidden before filtering.

   Change available from the repository


   Neil
Reply all
Reply to author
Forward
0 new messages