Handling folder clicks in CDialog

27 views
Skip to first unread message

Andrew Truckle

unread,
Apr 23, 2024, 6:49:17 PMApr 23
to scintilla-interest
I have a CDialog which is using a Scintilla::CScintillaCtrl.

It is displaying the text, line numbers and fold icons.

I can programatically toggle fold icons based on line number.

But if I click on the icon nothing happens.

Eko palypse

unread,
Apr 24, 2024, 3:34:21 AMApr 24
to scintilla...@googlegroups.com
Did you configure SCI_SETAUTOMATICFOLD?

--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-inter...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scintilla-interest/34c2f312-9123-4b1c-a555-c24233f55da6n%40googlegroups.com.

Andrew Truckle

unread,
Apr 24, 2024, 12:45:50 PMApr 24
to scintilla-interest
Hi
Thanks for your reply. I managed to get it working. I had accidentally switched off the folding margin.
Reply all
Reply to author
Forward
0 new messages