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: 1760
Joined: 18.12.2005
With us: 11 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: 1760
Joined: 18.12.2005
With us: 11 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: 180
Joined: 20.02.2008
Age: 55
With us: 9 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@hccnet.nl
Windows7 Ultimate, PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9 and Celestia160-ED

Avatar
Topic author
Chuft-Captain
Posts: 1760
Joined: 18.12.2005
With us: 11 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: 180
Joined: 20.02.2008
Age: 55
With us: 9 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@hccnet.nl
Windows7 Ultimate, PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9 and Celestia160-ED

Avatar
Topic author
Chuft-Captain
Posts: 1760
Joined: 18.12.2005
With us: 11 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: 1351
Joined: 09.09.2004
Age: 33
With us: 13 years 3 months
Location: MinneSNOWta

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: 1760
Joined: 18.12.2005
With us: 11 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
Moderator
Posts: 376
Joined: 05.06.2012
With us: 5 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: 1760
Joined: 18.12.2005
With us: 11 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
Moderator
Posts: 376
Joined: 05.06.2012
With us: 5 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:


Return to “Utilities”

Who is online

Users browsing this forum: 1 guest