Discussion:
How turn on folding?
Andrzej Borucki
2013-09-28 21:08:04 UTC
Permalink
I have written example based on dmapp.zip. It colors HTML, but no
folding. PaScintilla1.SendEditor(SCI_FOLDALL,SC_FOLDACTION_CONTRACT)
nothing do. It is possible fold HTML?
--
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-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Andrzej Borucki
2013-09-29 07:58:35 UTC
Permalink
SCN_MARGINCLICK iss never called when I click on margin.
PaScintilla1.SendEditor(SCI_SetProperty, integer(PAnsiChar('fold')),
integer(PAnsiChar('1')) ) - causes error
PaScintilla1.SendEditor(SCI_GetProperty, integer(PAnsiChar('fold.html')),
integer(@buf)); - returns nothing
--
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-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Neil Hodgson
2013-09-30 07:14:11 UTC
Permalink
Post by Andrzej Borucki
SCN_MARGINCLICK iss never called when I click on margin.
PaScintilla1.SendEditor(SCI_SetProperty, integer(PAnsiChar('fold')), integer(PAnsiChar('1')) ) - causes error
Its often a good idea to examine SciTE to discover how to combine calls to Scintilla to implement some feature.

Neil
--
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-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Andrzej Borucki
2013-09-30 08:39:25 UTC
Permalink
I found http://sphere.sourceforge.net/flik/docs/scintilla-folding.html,
after SCI_SETMARGINSENSITIVEN works SCN_MARGINCLICK.
Still is error for SCI_SETPROPERTY for "fold" or "fold.html"
--
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-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Andrzej Borucki
2013-09-30 17:14:06 UTC
Permalink
Is OK, was error because Pascal treat default string length one as "1" as
chars, not strings.

W dniu poniedzia³ek, 30 wrze¶nia 2013 10:39:25 UTC+2 u¿ytkownik Andrzej
Post by Andrzej Borucki
I found http://sphere.sourceforge.net/flik/docs/scintilla-folding.html,
after SCI_SETMARGINSENSITIVEN works SCN_MARGINCLICK.
Still is error for SCI_SETPROPERTY for "fold" or "fold.html"
--
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-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Continue reading on narkive:
Loading...