Syntax highlighting of Celestia Catalogs in Notepad++

Here you find pointers to utilities that help you create addons for Celestia.
Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Syntax highlighting of Celestia Catalogs in Notepad++

Post #21by Chuft-Captain » 23.01.2012, 17:19

Fenerit wrote:Just a question I wonder now: what Notepad++ version do you use? Mine is the 5.9.
I think... 5.6.8 or something like that. (I haven't upgraded Notepad++ for some time now.)
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Syntax highlighting of Celestia Catalogs in Notepad++

Post #22by Chuft-Captain » 22.05.2012, 19:49

A note:

Regarding installation in Windows 7:
In Win 7, the "userDefineLang.XML" file can be found in: "...\Users\...[your Username]...\AppData\...\Notepad++"
(assuming you've created at least 1 user defined language already.)

and a warning:

Don't "DOCK" the user-defined-dialog in Win7... I found that once docked, none of it's buttons responded (including the UNDOCK button), and had to re-install.

CC
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
Marco Klunder
Posts: 181
Joined: 20.02.2008
Age: 62
With us: 16 years 9 months
Location: The Netherlands

Re: Syntax highlighting of Celestia Catalogs in Notepad++

Post #23by Marco Klunder » 23.05.2012, 19:01

Well, I like this Syntax Highlighting very much and I'm using it quite a while now.
Thanks CC for your efforts here.

Chuft-Captain wrote:I have done nothing for CELX files as they are probably reasonably well serviced by the LUA language syntax already provided with NOTEPAD++.
However it might be worth adding specific celX keywords in the future (ie. the non LUA elements)

Indeed, I should appriciate the adding of specific CELX keywords.
The Lua language does a bit, but when mixed with CELX, my opinion, it's not consistent enough.
Mixed highlighting within CELX methods, just because certain keys are known and most not.
I'm trying to figger it out a bit how this XML works, but I'm not very familiar with it yet :oops:

Certainly, I keep using this :blue:
Marco Klunder
email: marco.klunder@xs4all.nl
Windows10 PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9, Celestia160-ED and Celestia1621

Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Syntax highlighting of Celestia Catalogs in Notepad++

Post #24by Chuft-Captain » 25.05.2012, 21:59

Marco Klunder wrote:Well, I like this Syntax Highlighting very much and I'm using it quite a while now.
Thanks CC for your efforts here.
You're welcome.

Marco Klunder wrote:Indeed, I should appriciate the adding of specific CELX keywords.
The Lua language does a bit, but when mixed with CELX, my opinion, it's not consistent enough.
Mixed highlighting within CELX methods, just because certain keys are known and most not.
I'm trying to figger it out a bit how this XML works, but I'm not very familiar with it yet :oops:
No problem, ... version 5 includes a handler for CelX scripts (combining LUA and CelX elements).
Download in original post: http://www.shatters.net/forum/viewtopic.php?f=25&t=16770&p=128779#p128779

You're welcome! :)
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
Marco Klunder
Posts: 181
Joined: 20.02.2008
Age: 62
With us: 16 years 9 months
Location: The Netherlands

Re: Syntax highlighting of Celestia Catalogs in Notepad++

Post #25by Marco Klunder » 25.05.2012, 23:59

Great and quick work CC
I'already downloaded it and start using it :D

Marco
Marco Klunder
email: marco.klunder@xs4all.nl
Windows10 PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9, Celestia160-ED and Celestia1621

Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Syntax highlighting of Celestia Catalogs in Notepad++

Post #26by Chuft-Captain » 29.05.2012, 16:47

Chuft-Captain wrote:Don't "DOCK" the user-defined-dialog in Win7... I found that once docked, none of it's buttons responded (including the UNDOCK button), and had to re-install.
It seems this was only an issue with the 5.6.8 version I had initially installed. Installing the latest version of NOTEPAD++ has solved this problem.
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 3 months
Location: MinneSNOWta
Contact:

Re: Syntax highlighting of Celestia Catalogs in Notepad++

Post #27by PlutonianEmpire » 28.04.2013, 01:13

Sorry for the "necro", but would it be possible to make the Syntax highlighting case sensitive? I can think of a couple of times where the code appeared correct and was highlighted, and yet it wasn't working, because a single letter had improper capitalization and woud take hours to manually find the bad letter. Especially frustrating when working with reference frames, since reference frames by themselves are already highly irritating to work with in the first place. :oops:
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Syntax highlighting of Celestia Catalogs in Notepad++

Post #28by Chuft-Captain » 15.11.2017, 03:35

Sorry, I don't believe this is possible.

Added after 5 hours 39 minutes:
[EDIT: Nov15 2017]Restored some images and repaired links in this thread.
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
FarGetaNik M
Posts: 484
Joined: 05.06.2012
With us: 12 years 6 months
Location: Germany

Post #29by FarGetaNik » 15.11.2017, 19:58

I actually wanted to reinstall this tool a while ago, I can't seem to find a working download link?

Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Post #30by Chuft-Captain » 17.11.2017, 09:34

FarGetaNik wrote:I actually wanted to reinstall this tool a while ago ...
... but why would you EVER uninstall this tool ! :fie: :wink:

Took me a while to find the right version. Link restored now in OP.
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
FarGetaNik M
Posts: 484
Joined: 05.06.2012
With us: 12 years 6 months
Location: Germany

Post #31by FarGetaNik » 17.11.2017, 14:22

Chuft-Captain wrote:... but why would you EVER uninstall this tool ! :fie: :wink:
Because I got a new computer and could not find it in my download files anymore :biggrin:
Thank you :wink:

Avatar
vpontin
Posts: 36
Joined: 20.04.2017
Age: 31
With us: 7 years 7 months
Contact:

Post #32by vpontin » 17.08.2018, 05:54

Sadly, i cant find the download link anymore...

Avatar
Limax7
Posts: 98
Joined: 23.01.2010
Age: 45
With us: 14 years 10 months
Location: Poland, Bialystok

Post #33by Limax7 » 17.08.2018, 13:30

I don't see the download link ? :(
Adam Hurcewicz
Bialystok, Poland

Avatar
Diigg M
Posts: 54
Joined: 09.02.2011
With us: 13 years 10 months

Post #34by Diigg » 14.01.2020, 17:23

Is it possible to re-upload the file for download?

Georgi
Posts: 22
Joined: 22.07.2020
With us: 4 years 4 months
Location: Bulgaria

Post #35by Georgi » 30.07.2020, 08:03

For anyone who can't find the download link (myself included), the easiest solution is to use the built-in Syntax Highlighting for C, C# and C++.

It works basically the same way. :smile:


Return to “Utilities”