Ticket #1291 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

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

NoFolding-Screenshot-Padre SVN @r16293 ($VERSION = 0.91).png (125.9 KB) - added by submersible_toaster 3 years ago.

Change History

comment:1 Changed 3 years ago by Sewi

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 );

comment:2 Changed 3 years ago by dolmen

Confirming the issue in r15466 on Ubuntu with Unity.
The [-] is ok, but I do not see the [+].

comment:3 Changed 3 years ago by dolmen

I just upgraded Wx::Scintilla to 0.21_05 and now I do not see neither [+] nor [-].

Last edited 3 years ago by dolmen (previous) (diff)

Changed 3 years ago by submersible_toaster

comment:4 Changed 3 years ago by ktaragorn

Confirmed on padre startup, however if code folding is disabled and enabled the icons are back, for a while atleast.. hope this helps..

Last edited 3 years ago by ktaragorn (previous) (diff)

comment:5 Changed 2 years ago by azawawi

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r17085 and r17086

Please reopen if it doesnt work for you. Sorry for the long delay in handling this one :)

Note: See TracTickets for help on using tickets.