maurizio.butti at gmail.com
Fri Jun 17 02:18:52 EDT 2016
What you're talking about here is "autocompletion", while the main subject
is abbreviations. The two functionalities are aimed at different users.
While autocompletion helps novices which do not know or remember easily the
language constructs, abbreviations helps experts in being more productive.
The second kind of users would be quite annoyed by popups flickering around
every couple of seconds.
Actually we ended up implementing both of them, so you'll be free to chose
what you like best.
np++ uses Scintilla directly, not the QScintilla layer; so I guess reusing
portions of code would not be feasible.
On Fri, Jun 17, 2016 at 4:23 AM, MichaelAtOz [via OpenSCAD] <
ml-node+s1091067n17728h43 at n5.nabble.com> wrote:
> The various np++ (Scintilla based) language definitions recognise keywords
> starting with the same letters, they show a dialogue with the options, you
> just need to type the next letter, or use up/down to select. That is a much
> better approach than bastardising things like k for minkowski.
> Personally I like the 'Additionally there is a setting "From X th
> character", accepting a the minimum length of a prefix needed before the
> completion list is shown (some people like 2, some 3, some 4...)' set to 2,
> so you just type tr<tab|enter> for translate etc, that covers most
> conflicting prefixes.
> np++ is open source (but Windows only), but based on Scintilla, so perhaps
> some of its autocomplete code (https://github.com/notepad-plus-plus)
> could be harvested?
> *Admin - PM me if you need anything, *
> or if I've done something stupid...
> Unless specifically shown otherwise above, my contribution is in the
> Public Domain; to the extent possible under law, I have waived all
> copyright and related or neighbouring rights to this work.
> Obviously inclusion of works of previous authors is not included in the
> The *TPP* is no simple *“trade agreement.”* *Fight it!*
> http://www.ourfairdeal.org/ *time is running out!*
> If you reply to this email, your message will be added to the discussion
> To unsubscribe from Abbreviations, click here
View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17733.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Discuss