discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] Abbreviations

B
buttim
Thu, Jun 16, 2016 7:20 AM

Seems like my problem with braces is a well known Qt bug (
https://bugreports.qt.io/browse/QTCREATORBUG-10269).

Not sure if it has been fixed in Qt5 but it seems so.

On Wed, Jun 15, 2016 at 12:26 PM, tp3 [via OpenSCAD] <
ml-node+s1091067n17685h10@n5.nabble.com> wrote:

I'm using an italian keyboard on which the curly
bracket is produced by the key combination AltGr+Shift++.
The + key is used to produce a * in combination with
shift. This does not happen in Ubuntu, so it seems a
QScintilla (or Scintilla) bug.

It could also be one of the (a bit annoying) platform
differences which all the Qt stuff is supposed to hide.

I also verified the crash when the scad.api file is
missing, which I'll try to solve.

Yep, I found the crash is gone after putting in the
scad.api file. I just missed it's two files that need
to be put there.

I still could not get it to expand the shortcuts, yet.
I'll have to have a closer look again, for which I
might not have the time in the next couple of days.
I hope the build is still useful for others, we can
try adding the files to the next build...

ciao,
Torsten.


OpenSCAD mailing list
[hidden email] http:///user/SendEmail.jtp?type=node&node=17685&i=1
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten


If you reply to this email, your message will be added to the discussion
below:
http://forum.openscad.org/Abbreviations-tp17583p17685.html
To unsubscribe from Abbreviations, click here
http://forum.openscad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=17583&code=bWF1cml6aW8uYnV0dGlAZ21haWwuY29tfDE3NTgzfDE4OTg0NTUyNTk=
.
NAML
http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml

--
View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17711.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Seems like my problem with braces is a well known Qt bug ( https://bugreports.qt.io/browse/QTCREATORBUG-10269). Not sure if it has been fixed in Qt5 but it seems so. On Wed, Jun 15, 2016 at 12:26 PM, tp3 [via OpenSCAD] < ml-node+s1091067n17685h10@n5.nabble.com> wrote: > Von: buttim <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=17685&i=0>> > > I'm using an italian keyboard on which the curly > > bracket is produced by the key combination AltGr+Shift++. > > The + key is used to produce a * in combination with > > shift. This does not happen in Ubuntu, so it seems a > > QScintilla (or Scintilla) bug. > > > It could also be one of the (a bit annoying) platform > differences which all the Qt stuff is supposed to hide. > > > I also verified the crash when the scad.api file is > > missing, which I'll try to solve. > > > Yep, I found the crash is gone after putting in the > scad.api file. I just missed it's two files that need > to be put there. > > I still could not get it to expand the shortcuts, yet. > I'll have to have a closer look again, for which I > might not have the time in the next couple of days. > I hope the build is still useful for others, we can > try adding the files to the next build... > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > [hidden email] <http:///user/SendEmail.jtp?type=node&node=17685&i=1> > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > -- Torsten > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://forum.openscad.org/Abbreviations-tp17583p17685.html > To unsubscribe from Abbreviations, click here > <http://forum.openscad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=17583&code=bWF1cml6aW8uYnV0dGlAZ21haWwuY29tfDE3NTgzfDE4OTg0NTUyNTk=> > . > NAML > <http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17711.html Sent from the OpenSCAD mailing list archive at Nabble.com.
J
jpmendes
Thu, Jun 16, 2016 6:41 PM

Hi,

I think "z" for scale is better because z suggests zoom (up, down) and scale
can be seen as a "kind of zoom". The "+" has a  variable position on
international keyboards and sometimes we need to press "shift" to get the
"+". Scale less than 1 suggests "-".
The "k" for minkowski is because k is repeated, so it is easy to remember.
As you said, being configurable, any one can choose the letters they feel
more comfortable with.

Thanks.

jpmendes

--
View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17720.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi, I think "z" for scale is better because z suggests zoom (up, down) and scale can be seen as a "kind of zoom". The "+" has a variable position on international keyboards and sometimes we need to press "shift" to get the "+". Scale less than 1 suggests "-". The "k" for minkowski is because k is repeated, so it is easy to remember. As you said, being configurable, any one can choose the letters they feel more comfortable with. Thanks. jpmendes -- View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17720.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Fri, Jun 17, 2016 2:23 AM

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.

http://docs.notepad-plus-plus.org/index.php/Auto_Completion

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 above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17728.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

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. http://docs.notepad-plus-plus.org/index.php/Auto_Completion 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 above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17728.html Sent from the OpenSCAD mailing list archive at Nabble.com.
B
buttim
Fri, Jun 17, 2016 6:12 AM

They're both reasonable choices. In any case abbreviations are not really
useful for constructs that are not used often enough. But having them in
the definitions file won't do any harm.

On Thu, Jun 16, 2016 at 8:41 PM, jpmendes [via OpenSCAD] <
ml-node+s1091067n17720h95@n5.nabble.com> wrote:

Hi,

I think "z" for scale is better because z suggests zoom (up, down) and
scale can be seen as a "kind of zoom". The "+" has a  variable position on
international keyboards and sometimes we need to press "shift" to get the
"+". Scale less than 1 suggests "-".
The "k" for minkowski is because k is repeated, so it is easy to remember.
As you said, being configurable, any one can choose the letters they feel
more comfortable with.

Thanks.

jpmendes


If you reply to this email, your message will be added to the discussion
below:
http://forum.openscad.org/Abbreviations-tp17583p17720.html
To unsubscribe from Abbreviations, click here
http://forum.openscad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=17583&code=bWF1cml6aW8uYnV0dGlAZ21haWwuY29tfDE3NTgzfDE4OTg0NTUyNTk=
.
NAML
http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml

--
View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17732.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

They're both reasonable choices. In any case abbreviations are not really useful for constructs that are not used often enough. But having them in the definitions file won't do any harm. On Thu, Jun 16, 2016 at 8:41 PM, jpmendes [via OpenSCAD] < ml-node+s1091067n17720h95@n5.nabble.com> wrote: > Hi, > > I think "z" for scale is better because z suggests zoom (up, down) and > scale can be seen as a "kind of zoom". The "+" has a variable position on > international keyboards and sometimes we need to press "shift" to get the > "+". Scale less than 1 suggests "-". > The "k" for minkowski is because k is repeated, so it is easy to remember. > As you said, being configurable, any one can choose the letters they feel > more comfortable with. > > Thanks. > > jpmendes > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://forum.openscad.org/Abbreviations-tp17583p17720.html > To unsubscribe from Abbreviations, click here > <http://forum.openscad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=17583&code=bWF1cml6aW8uYnV0dGlAZ21haWwuY29tfDE3NTgzfDE4OTg0NTUyNTk=> > . > NAML > <http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17732.html Sent from the OpenSCAD mailing list archive at Nabble.com.
B
buttim
Fri, Jun 17, 2016 6:18 AM

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@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.

http://docs.notepad-plus-plus.org/index.php/Auto_Completion

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
above.

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
below:
http://forum.openscad.org/Abbreviations-tp17583p17728.html
To unsubscribe from Abbreviations, click here
http://forum.openscad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=17583&code=bWF1cml6aW8uYnV0dGlAZ21haWwuY29tfDE3NTgzfDE4OTg0NTUyNTk=
.
NAML
http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml

--
View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17733.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

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@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. > > http://docs.notepad-plus-plus.org/index.php/Auto_Completion > > 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 > above. > > 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 > below: > http://forum.openscad.org/Abbreviations-tp17583p17728.html > To unsubscribe from Abbreviations, click here > <http://forum.openscad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=17583&code=bWF1cml6aW8uYnV0dGlAZ21haWwuY29tfDE3NTgzfDE4OTg0NTUyNTk=> > . > NAML > <http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17733.html Sent from the OpenSCAD mailing list archive at Nabble.com.
B
buttim
Fri, Jun 17, 2016 12:21 PM

A few improvements. Separated "complete word" (from document) and new
"complete symbol" (from APIs). Shortcuts are CTRL+Return as before for the
first and CTRL+SPACE for the second (same as SciTE editor and quite handy I
think).
I added the abbreviations suggested by jpmendes (z for scale jp :) ), and
many APIs definitions from your code

On Wed, Jun 15, 2016 at 12:26 PM, tp3 [via OpenSCAD] <
ml-node+s1091067n17685h10@n5.nabble.com> wrote:

I'm using an italian keyboard on which the curly
bracket is produced by the key combination AltGr+Shift++.
The + key is used to produce a * in combination with
shift. This does not happen in Ubuntu, so it seems a
QScintilla (or Scintilla) bug.

It could also be one of the (a bit annoying) platform
differences which all the Qt stuff is supposed to hide.

I also verified the crash when the scad.api file is
missing, which I'll try to solve.

Yep, I found the crash is gone after putting in the
scad.api file. I just missed it's two files that need
to be put there.

I still could not get it to expand the shortcuts, yet.
I'll have to have a closer look again, for which I
might not have the time in the next couple of days.
I hope the build is still useful for others, we can
try adding the files to the next build...

ciao,
Torsten.


OpenSCAD mailing list
[hidden email] http:///user/SendEmail.jtp?type=node&node=17685&i=1
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten


If you reply to this email, your message will be added to the discussion
below:
http://forum.openscad.org/Abbreviations-tp17583p17685.html
To unsubscribe from Abbreviations, click here
http://forum.openscad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=17583&code=bWF1cml6aW8uYnV0dGlAZ21haWwuY29tfDE3NTgzfDE4OTg0NTUyNTk=
.
NAML
http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml

editor-improvement6.patch (14K) http://forum.openscad.org/attachment/17744/0/editor-improvement6.patch
abbrev.json (852 bytes) http://forum.openscad.org/attachment/17744/1/abbrev.json
scad.api (684 bytes) http://forum.openscad.org/attachment/17744/2/scad.api

--
View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17744.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

A few improvements. Separated "complete word" (from document) and new "complete symbol" (from APIs). Shortcuts are CTRL+Return as before for the first and CTRL+SPACE for the second (same as SciTE editor and quite handy I think). I added the abbreviations suggested by jpmendes (z for scale jp :) ), and many APIs definitions from your code On Wed, Jun 15, 2016 at 12:26 PM, tp3 [via OpenSCAD] < ml-node+s1091067n17685h10@n5.nabble.com> wrote: > Von: buttim <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=17685&i=0>> > > I'm using an italian keyboard on which the curly > > bracket is produced by the key combination AltGr+Shift++. > > The + key is used to produce a * in combination with > > shift. This does not happen in Ubuntu, so it seems a > > QScintilla (or Scintilla) bug. > > > It could also be one of the (a bit annoying) platform > differences which all the Qt stuff is supposed to hide. > > > I also verified the crash when the scad.api file is > > missing, which I'll try to solve. > > > Yep, I found the crash is gone after putting in the > scad.api file. I just missed it's two files that need > to be put there. > > I still could not get it to expand the shortcuts, yet. > I'll have to have a closer look again, for which I > might not have the time in the next couple of days. > I hope the build is still useful for others, we can > try adding the files to the next build... > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > [hidden email] <http:///user/SendEmail.jtp?type=node&node=17685&i=1> > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > -- Torsten > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://forum.openscad.org/Abbreviations-tp17583p17685.html > To unsubscribe from Abbreviations, click here > <http://forum.openscad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=17583&code=bWF1cml6aW8uYnV0dGlAZ21haWwuY29tfDE3NTgzfDE4OTg0NTUyNTk=> > . > NAML > <http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > editor-improvement6.patch (14K) <http://forum.openscad.org/attachment/17744/0/editor-improvement6.patch> abbrev.json (852 bytes) <http://forum.openscad.org/attachment/17744/1/abbrev.json> scad.api (684 bytes) <http://forum.openscad.org/attachment/17744/2/scad.api> -- View this message in context: http://forum.openscad.org/Abbreviations-tp17583p17744.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Fri, Jun 17, 2016 4:41 PM

On 06/17/2016 04:23 AM, MichaelAtOz wrote:

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?

I think that's not really possible (or easy...) unfortunately. QScintilla
and Scintilla are quite different in some cases, even with the first being
based on the latter one.

That said, the autocomplete is built-in as shown in the screencasts in
https://github.com/openscad/openscad/pull/905 - only the selection of what's
displayed is actually part of the application.

I guess all those features are similar enough to just have all the variations
and let the user decide what to enable.

ciao,
Torsten.

On 06/17/2016 04:23 AM, MichaelAtOz wrote: > 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? > I think that's not really possible (or easy...) unfortunately. QScintilla and Scintilla are quite different in some cases, even with the first being based on the latter one. That said, the autocomplete is built-in as shown in the screencasts in https://github.com/openscad/openscad/pull/905 - only the selection of what's displayed is actually part of the application. I guess all those features are similar enough to just have all the variations and let the user decide what to enable. ciao, Torsten.
B
buttim
Sun, Feb 12, 2017 11:58 PM

Hello everyone. It's been a while since I wrote that code and never looked
back at it. Sadly I discovered today that it didn't find it's way in the
OpenSCAD source code. I'm painfuly applying my patches by hand to the new
code base. Since I still think the feature was useful and not harmful to
people who will not apreciate it, I'm back at asking for it to be included
in OpenSCAD.
Any chances?
I'm obviously available at releasing a patch file as soon as I finish the
job

--
View this message in context: http://forum.openscad.org/Abbreviations-tp17583p20403.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hello everyone. It's been a while since I wrote that code and never looked back at it. Sadly I discovered today that it didn't find it's way in the OpenSCAD source code. I'm painfuly applying my patches by hand to the new code base. Since I still think the feature was useful and not harmful to people who will not apreciate it, I'm back at asking for it to be included in OpenSCAD. Any chances? I'm obviously available at releasing a patch file as soon as I finish the job -- View this message in context: http://forum.openscad.org/Abbreviations-tp17583p20403.html Sent from the OpenSCAD mailing list archive at Nabble.com.
R
Ronaldo
Mon, Feb 13, 2017 12:24 PM

Your list of abbreviations is nice. But, it would be a great help, at least
for me, if the editor automatically closes every opened key (, [ and { as
Notepad++ does. In long expressions, I always forget something at the end.
Besides, in very frequent fragments like:

for(i=[0:len(var)-1])

18 strokes are needed besides the variable name and something is always
missing. To correct such fragments is lengthy then type them. Needless to
say I am not a great typist and I define much more functions then modules.

--
View this message in context: http://forum.openscad.org/Abbreviations-tp17583p20408.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Your list of abbreviations is nice. But, it would be a great help, at least for me, if the editor automatically closes every opened key (, [ and { as Notepad++ does. In long expressions, I always forget something at the end. Besides, in very frequent fragments like: for(i=[0:len(var)-1]) 18 strokes are needed besides the variable name and something is always missing. To correct such fragments is lengthy then type them. Needless to say I am not a great typist and I define much more functions then modules. -- View this message in context: http://forum.openscad.org/Abbreviations-tp17583p20408.html Sent from the OpenSCAD mailing list archive at Nabble.com.
B
buttim
Mon, Feb 13, 2017 1:59 PM

Abbreviations do (partially) solve the problem. If you expand 'c' you will
get cube([]); with closed parentheses and a semicolon. The cursor will be
put in the right spot for you to digit the correct parameter values, i.e. in
between the brackets. You will only have to press the End button when your
job is done

--
View this message in context: http://forum.openscad.org/Abbreviations-tp17583p20409.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Abbreviations do (partially) solve the problem. If you expand 'c' you will get cube([]); with closed parentheses and a semicolon. The cursor will be put in the right spot for you to digit the correct parameter values, i.e. in between the brackets. You will only have to press the End button when your job is done -- View this message in context: http://forum.openscad.org/Abbreviations-tp17583p20409.html Sent from the OpenSCAD mailing list archive at Nabble.com.