Ticket #1291 (closed defect: fixed)
Code folding icons missing
| Reported by: | Sewi | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | editor | Version: | 0.89 |
| Keywords: | Cc: |
Description
- Open a Perl file
- View -> Enable code folding
- Look for a sub
There should be a [-] icon besides the line numbering. Klick on it (or the empty space where it should be), now you should see a [+] icon.
Some people are missing both, some only the [-] icon, but this is an issue.
Code folding is working as long as you ignore the missing icons and just click where they should be.
Attachments
Change History
comment:2 Changed 23 months ago by dolmen
Confirming the issue in r15466 on Ubuntu with Unity.
The [-] is ok, but I do not see the [+].
comment:3 Changed 23 months ago by dolmen
I just upgraded Wx::Scintilla to 0.21_05 and now I do not see neither [+] nor [-].
Changed 21 months ago by submersible_toaster
- Attachment NoFolding-Screenshot-Padre SVN @r16293 ($VERSION = 0.91).png added
Note: See
TracTickets for help on using
tickets.

Icons are defined here:
Padre::Wx::Editor line 1691
BEGIN { *show_folding = sub { [...] $self->MarkerDefine( Wx::wxSTC_MARKNUM_FOLDEREND, Wx::wxSTC_MARK_BOXPLUSCONNECTED, $w, $b ); $self->MarkerDefine( Wx::wxSTC_MARKNUM_FOLDEROPENMID, Wx::wxSTC_MARK_BOXMINUSCONNECTED, $w, $b );