I appreciate the help, Lex. What I meant for the scanning was that it would
happen twice, once to determine that, e.g. fold level 5 is actually fold
level 2 and fold level 9 is actually fold level 3, and then again to do the
actual folding. I think your outline of folding-as-you-go would probably
On 28 January 2014 10:00, Peter O'Malley ooomal...@gmail.com wrote:
I appreciate the help, Lex. What I meant for the scanning was that it
would happen twice, once to determine that, e.g. fold level 5 is actually
fold level 2 and fold level 9 is actually fold level 3, and then again to
do the
On Fri, Jan 24, 2014 at 2:29 PM, Lex Trotman ele...@gmail.com wrote:
...
4) The folder would have to always count increases/decreases from the start
of the file to actually get a level that counts correctly or save state on
the file. At the moment it starts from near the start of the visible
On 26 January 2014 02:53, Peter O'Malley ooomal...@gmail.com wrote:
On Fri, Jan 24, 2014 at 2:29 PM, Lex Trotman ele...@gmail.com wrote:
...
4) The folder would have to always count increases/decreases from the
start
of the file to actually get a level that counts correctly or save state
Am 19.01.2014 22:08, schrieb Lex Trotman:
On 20 January 2014 01:24, Frank Lanitz fr...@frank.uvena.de
mailto:fr...@frank.uvena.de wrote:
On Wed, 15 Jan 2014 19:24:31 -0800 (PST)
Steven Blatnick steve8tr...@yahoo.com
mailto:steve8tr...@yahoo.com wrote:
5. I am guessing
OK, thanks everyone. I will follow your advice :-). (Though I am a bit
skeptical about using the scintilla API directly, but I guess that's
less likely to change.)
I will hopefully soon have something completed to work with, but at
the moment I'm having trouble getting my plugin to compile as
Le 24/01/2014 17:56, Peter O'Malley a écrit :
[...]
I will hopefully soon have something completed to work with, but at
the moment I'm having trouble getting my plugin to compile as part of
geany-plugins; for some reason GETTEXT_PACKAGE is undeclared even
though LOCALEDIR is fine. Once I
Turns out I'm pretty rusty working in C... I knew it would be something
silly. Thanks!
I have another question: the code folding works fine, but I'm having an
issue with how the fold levels are counted in python. The top block is
still level 1, but the next block is level 5, I gather because it's
On 25 January 2014 07:20, Peter O'Malley ooomal...@gmail.com wrote:
Turns out I'm pretty rusty working in C... I knew it would be something
silly. Thanks!
I have another question: the code folding works fine, but I'm having an
issue with how the fold levels are counted in python. The top
On 20 January 2014 01:24, Frank Lanitz fr...@frank.uvena.de wrote:
On Wed, 15 Jan 2014 19:24:31 -0800 (PST)
Steven Blatnick steve8tr...@yahoo.com wrote:
5. I am guessing geany-plugins welcomes more plugins, so long as the
dev agrees to maintain their plugin.
Yes. New plugins are welcome
On 14-01-15 07:02 PM, Peter O'Malley wrote:
[snip]
3) In the actual folding code I used sci_get_fold_level (and a couple
other scintilla wrappers) which aren't in the plugin API so I gather
my plugin may break at some point. There doesn't seem to be a way
around this for what I want to do. Is
I am new to Geany plugins and GTK development in general, and I'd like
to know some best practices (and how-to's) for a plugin I'm working
on. It does code folding, by level--that is, rather than folding all
of the code at once, just the top-level or second-level (or
third-level...). (This is very
[...]
1) The submenu is in the tools menu, but I feel it would be better in
the Document menu underneath the existing folding functions. Is this a
good idea, and if so, how to I get at the document menu (since I can't
say geany-main_widgets-tools_menu)?
In general its not a good idea to
13 matches
Mail list logo