discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

GSOC 2015 proposal - SCAD Lexer for QScintilla Editor

SS
Shaina Sabarwal
Tue, Mar 24, 2015 9:59 PM

Hi,
This year, I am proposing to work to improve QScintilla Editor of
OpenSCAD by writing custom lexer for SCAD language and solving various
scintilla and GUI related issues.
Here is my proposal
http://brlcad.org/wiki/User:Shainasabarwal/ScadLexer_for_ScintillaEditor#Title:_SCAD_lexer_for_QScintilla_Editor

Kindly review it and give suggestions if any improvement required.

Thanks.

Shaina Sabarwal
blog: shainasabarwal.wordpress.com
github: github.com/shaina7837

You don't have to be great to start but start to be great.

Hi, This year, I am proposing to work to improve QScintilla Editor of OpenSCAD by writing custom lexer for SCAD language and solving various scintilla and GUI related issues. Here is my proposal http://brlcad.org/wiki/User:Shainasabarwal/ScadLexer_for_ScintillaEditor#Title:_SCAD_lexer_for_QScintilla_Editor Kindly review it and give suggestions if any improvement required. Thanks. -- Shaina Sabarwal blog: shainasabarwal.wordpress.com github: github.com/shaina7837 You don't have to be great to start but start to be great.
PF
Peter Falke
Tue, Mar 24, 2015 10:23 PM

I`d take out the icons, there is no connection to lexing that I can see.

2015-03-24 22:59 GMT+01:00 Shaina Sabarwal iamshainasabarwal@gmail.com:

Hi,
This year, I am proposing to work to improve QScintilla Editor of
OpenSCAD by writing custom lexer for SCAD language and solving various
scintilla and GUI related issues.
Here is my proposal

http://brlcad.org/wiki/User:Shainasabarwal/ScadLexer_for_ScintillaEditor#Title:_SCAD_lexer_for_QScintilla_Editor

Kindly review it and give suggestions if any improvement required.

Thanks.

Shaina Sabarwal
blog: shainasabarwal.wordpress.com
github: github.com/shaina7837

You don't have to be great to start but start to be great.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

--
stempeldergeschichte@googlemail.com karsten@rohrbach.de

P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu
schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.

P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.

Enjoy!

I`d take out the icons, there is no connection to lexing that I can see. 2015-03-24 22:59 GMT+01:00 Shaina Sabarwal <iamshainasabarwal@gmail.com>: > Hi, > This year, I am proposing to work to improve QScintilla Editor of > OpenSCAD by writing custom lexer for SCAD language and solving various > scintilla and GUI related issues. > Here is my proposal > > http://brlcad.org/wiki/User:Shainasabarwal/ScadLexer_for_ScintillaEditor#Title:_SCAD_lexer_for_QScintilla_Editor > > Kindly review it and give suggestions if any improvement required. > > Thanks. > -- > Shaina Sabarwal > blog: shainasabarwal.wordpress.com > github: github.com/shaina7837 > > You don't have to be great to start but start to be great. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > -- stempeldergeschichte@googlemail.com <karsten@rohrbach.de> P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist: Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu schreiben. Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen. P.S. In case my e-mail is shorter than you enjoy: I am currently trying short replies instead of no replies at all. Please let me know, if you like to read more. Enjoy!
M
MichaelAtOz
Tue, Mar 24, 2015 11:10 PM

You may find these helpful.

openscad_syntax_highlight_export_2014-03+.xml
http://forum.openscad.org/file/n12195/openscad_syntax_highlight_export_2014-03%2B.xml
openscad_autocomplete_2014.xml
http://forum.openscad.org/file/n12195/openscad_autocomplete_2014.xml

They are the keyword highlight and autocomplete I use with  Notepad++
http://notepad-plus-plus.org/  . (A Windows only editor based on
scintilla)

They should have the 2015.03 new keywords, but I haven't done a double check
since the official release.

I'll do that in a little while and put an official 2015.03 version on
thingiverse for others who use NP++.


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. This work is published globally via the internet. :) 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/

View this message in context: http://forum.openscad.org/GSOC-2015-proposal-SCAD-Lexer-for-QScintilla-Editor-tp12190p12195.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

You may find these helpful. openscad_syntax_highlight_export_2014-03+.xml <http://forum.openscad.org/file/n12195/openscad_syntax_highlight_export_2014-03%2B.xml> openscad_autocomplete_2014.xml <http://forum.openscad.org/file/n12195/openscad_autocomplete_2014.xml> They are the keyword highlight and autocomplete I use with Notepad++ <http://notepad-plus-plus.org/> . (A Windows only editor based on scintilla) They should have the 2015.03 new keywords, but I haven't done a double check since the official release. I'll do that in a little while and put an official 2015.03 version on thingiverse for others who use NP++. ----- 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. This work is published globally via the internet. :) 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/ -- View this message in context: http://forum.openscad.org/GSOC-2015-proposal-SCAD-Lexer-for-QScintilla-Editor-tp12190p12195.html Sent from the OpenSCAD mailing list archive at Nabble.com.
SS
Shaina Sabarwal
Wed, Mar 25, 2015 4:11 AM

On Wed, Mar 25, 2015 at 3:53 AM, Peter Falke
stempeldergeschichte@googlemail.com wrote:

I`d take out the icons, there is no connection to lexing that I can see.

Yes, that's related to GUI, the proposal has two parts - scad lexer
and improving GUI.

--
Shaina Sabarwal
blog: shainasabarwal.wordpress.com
github: github.com/shaina7837

You don't have to be great to start but start to be great.

On Wed, Mar 25, 2015 at 3:53 AM, Peter Falke <stempeldergeschichte@googlemail.com> wrote: > I`d take out the icons, there is no connection to lexing that I can see. Yes, that's related to GUI, the proposal has two parts - scad lexer and improving GUI. -- Shaina Sabarwal blog: shainasabarwal.wordpress.com github: github.com/shaina7837 You don't have to be great to start but start to be great.
SS
Shaina Sabarwal
Wed, Mar 25, 2015 4:24 AM

On Wed, Mar 25, 2015 at 4:40 AM, MichaelAtOz oz.at.michael@gmail.com
wrote:

You may find these helpful.

The forum pages are giving me errors.

openscad_syntax_highlight_export_2014-03+.xml
<

They are the keyword highlight and autocomplete I use with  Notepad++
http://notepad-plus-plus.org/  . (A Windows only editor based on
scintilla)

Thanks for this. :)

--
Shaina Sabarwal
blog: shainasabarwal.wordpress.com
github: github.com/shaina7837

You don't have to be great to start but start to be great.

On Wed, Mar 25, 2015 at 4:40 AM, MichaelAtOz <oz.at.michael@gmail.com> wrote: > You may find these helpful. > The forum pages are giving me errors. > openscad_syntax_highlight_export_2014-03+.xml > < http://forum.openscad.org/file/n12195/openscad_syntax_highlight_export_2014-03%2B.xml > ​ > openscad_autocomplete_2014.xml > <http://forum.openscad.org/file/n12195/openscad_autocomplete_2014.xml> ​ > > They are the keyword highlight and autocomplete I use with Notepad++ > <http://notepad-plus-plus.org/> . (A Windows only editor based on > scintilla) Thanks for this. :) -- Shaina Sabarwal blog: shainasabarwal.wordpress.com github: github.com/shaina7837 You don't have to be great to start but start to be great.
M
MichaelAtOz
Wed, Mar 25, 2015 4:29 AM

Try right-click/Save-As


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. This work is published globally via the internet. :) 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/

View this message in context: http://forum.openscad.org/GSOC-2015-proposal-SCAD-Lexer-for-QScintilla-Editor-tp12190p12198.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Try right-click/Save-As ----- 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. This work is published globally via the internet. :) 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/ -- View this message in context: http://forum.openscad.org/GSOC-2015-proposal-SCAD-Lexer-for-QScintilla-Editor-tp12190p12198.html Sent from the OpenSCAD mailing list archive at Nabble.com.
PF
Peter Falke
Wed, Mar 25, 2015 6:37 PM

Now, there is a cool thing you could do with the new QScintilla lexer:

pass the text of comments (and strings) to the (google) spell checker.

Like in ChatZilla: When you type in the chat window it underlines wrong
words in red and right-clicking on it brings up corrections.

2015-03-25 5:29 GMT+01:00 MichaelAtOz oz.at.michael@gmail.com:

Try right-click/Save-As


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. This work is
published globally via the internet. :) 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/

View this message in context:
http://forum.openscad.org/GSOC-2015-proposal-SCAD-Lexer-for-QScintilla-Editor-tp12190p12198.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

--
stempeldergeschichte@googlemail.com karsten@rohrbach.de

P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist:
Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu
schreiben.
Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen.

P.S. In case my e-mail is shorter than you enjoy:
I am currently trying short replies instead of no replies at all.
Please let me know, if you like to read more.

Enjoy!

Now, there is a cool thing you could do with the new QScintilla lexer: pass the text of comments (and strings) to the (google) spell checker. Like in ChatZilla: When you type in the chat window it underlines wrong words in red and right-clicking on it brings up corrections. 2015-03-25 5:29 GMT+01:00 MichaelAtOz <oz.at.michael@gmail.com>: > Try right-click/Save-As > > > > ----- > 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. This work is > published globally via the internet. :) 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/ > -- > View this message in context: > http://forum.openscad.org/GSOC-2015-proposal-SCAD-Lexer-for-QScintilla-Editor-tp12190p12198.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > -- stempeldergeschichte@googlemail.com <karsten@rohrbach.de> P.S. Falls meine E-Mail kürzer ausfällt als Dir angenehm ist: Ich probiere gerade aus kurze Antworten statt gar keine Antworten zu schreiben. Wenn Du gerne mehr lesen möchtest, dann lass es mich bitte wissen. P.S. In case my e-mail is shorter than you enjoy: I am currently trying short replies instead of no replies at all. Please let me know, if you like to read more. Enjoy!
M
MichaelAtOz
Wed, Mar 25, 2015 9:54 PM

Peter Falke wrote

Now, there is a cool thing you could do with the new QScintilla lexer:
pass the text of comments (and strings) to the (google) spell checker.

and the SCAD keywords/parameter names etc. One big problem is the silent
fail when you type the likes of tranlate().


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. This work is published globally via the internet. :) 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/

View this message in context: http://forum.openscad.org/GSOC-2015-proposal-SCAD-Lexer-for-QScintilla-Editor-tp12190p12212.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Peter Falke wrote > Now, there is a cool thing you could do with the new QScintilla lexer: > pass the text of comments (and strings) to the (google) spell checker. and the SCAD keywords/parameter names etc. One big problem is the silent fail when you type the likes of tranlate(). ----- 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. This work is published globally via the internet. :) 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/ -- View this message in context: http://forum.openscad.org/GSOC-2015-proposal-SCAD-Lexer-for-QScintilla-Editor-tp12190p12212.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TH
Tim Hawkins
Thu, Mar 26, 2015 12:05 PM

And the only working when you are online.......

On Thu, Mar 26, 2015, 05:55 MichaelAtOz oz.at.michael@gmail.com wrote:

Peter Falke wrote

Now, there is a cool thing you could do with the new QScintilla lexer:
pass the text of comments (and strings) to the (google) spell checker.

and the SCAD keywords/parameter names etc. One big problem is the silent
fail when you type the likes of tranlate().


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. This work is
published globally via the internet. :) 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/

View this message in context: http://forum.openscad.org/
GSOC-2015-proposal-SCAD-Lexer-for-QScintilla-Editor-tp12190p12212.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

And the only working when you are online....... On Thu, Mar 26, 2015, 05:55 MichaelAtOz <oz.at.michael@gmail.com> wrote: > Peter Falke wrote > > Now, there is a cool thing you could do with the new QScintilla lexer: > > pass the text of comments (and strings) to the (google) spell checker. > > and the SCAD keywords/parameter names etc. One big problem is the silent > fail when you type the likes of tranlate(). > > > > > ----- > 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. This work is > published globally via the internet. :) 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/ > -- > View this message in context: http://forum.openscad.org/ > GSOC-2015-proposal-SCAD-Lexer-for-QScintilla-Editor-tp12190p12212.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >