google-code-export / editra

Automatically exported from code.google.com/p/editra
Other
1 stars 0 forks source link

Suggestion for visual cue for folded code in the editor pane #611

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
N/A

What is the expected output? What do you see instead?

It would be a good idea to have a visual cue in the editor panes when a fold is 
active. Vim handles this by highlighting the line at the start of the elided 
text in the fold. Right now in Editra its hard to tell if code is folded or 
just missing as the "+" sign if not much of a visual cue (especially when 
viewed on a small netbook/UMPC).

A simple way to implement this is to add a light grey highlight of the first 
line of a fold (i.e., like the current highlighted line feature in Editra) only 
a different color. When the current highlighted line overlaps the fold 
highlight, you could merge the colors to indicate there is a fold under the 
current line. 

IMPORTANT!!! Please answer these questions for any and ALL bug reports

What version of the product are you using? On what operating system?
0.6.0 Windows 7, Linux

What method of install was your version installed with (Binary/Source)?
Binary

If from source: What version of python and wxPython are you using?

Please provide any additional information below.

Original issue reported on code.google.com by michael....@gmail.com on 25 Jan 2011 at 1:18

GoogleCodeExporter commented 9 years ago
Will investigate after wxPython 2.9.2 is readily available. The newer version 
of Scintilla supports the use of more indicators. Currently limited to very few 
in a given buffer.

Original comment by CodyPrec...@gmail.com on 3 Feb 2011 at 2:58