Results 1 to 9 of 9
-
04-07-2010, 07:28 AM #1
- Join Date
- Jun 2008
- Location
- Jersey Channel Islands
- Posts
- 28
An alternative to Notepad for SIOC
If you are a user of SIOC and using Notepad as an editor then you may find the following of interest.
I decided a while back that there must be an alternative to using Notepad which is just not suited for use as a programming editor. The problem was that there are hundreds of editors out there but after spending a few hours I found one that could easily be adapted for use with SIOC. In fact this editor can be adapted for use with any programming language and its freeware.
The program is called ConTEXT and can be downloaded from the following link.
http://www.contexteditor.org/
I have created a Highlighter and Code Template for SIOC and will be happy to share these files if someone can tell me where to download them to. I can’t attach these files as they have an extension of .chl and .ctpl and are not in the list of valid extensions for uploading to this site.
When you have copied the two files above launch ConTEXT and load your old
Sioc text file. From the tool bar set the Highlighter to “SIOC Text File” your code should now be colour coded (much easier to read). To enter a new line of code just press Ctrl J and you will get a drop down box select the command to use and the syntax will be inserted (no need to remember the command syntax anymore) Just double click on the highlighted boxes and enter your variables, that’s it now your programmes will be much easier to read and write.
Please note that you can change the Highlighter and code template to suit your own needs for instance if you don’t like the font or font size I have used you can change it.
Hope this helps.
-
Post Thanks / Like - 9 Thanks, 0 Likes, 0 DislikesBABA767, xtreme3d, Delphi, mpl330, kiek, flatlandpilot, Hessel Oosten, twisted8, vybhav thanked for this post
-
04-07-2010, 08:17 AM #2
- Join Date
- Sep 2006
- Location
- Netherlands
- Posts
- 165
Re: An alternative to Notepad for SIOC
"" I have created a Highlighter and Code Template for SIOC and will be happy to share these files if someone can tell me where to download them to. I can’t attach these files as they have an extension of .chl and .ctpl and are not in the list of valid extensions for uploading to this site.""
Gary thanks !
Is it possible to upload them here *on this site* into the download section and to report here when "done" ?
Hessel Oosten767 Level-D
-
04-07-2010, 09:03 AM #3
- Join Date
- Jun 2008
- Location
- Jersey Channel Islands
- Posts
- 28
Re: An alternative to Notepad for SIOC
Ok I have attached the two files to be used with program ConTEXT. I had to upload them as Text Files so you will need to do the following in order for them to work.
Copy Sioc.txt to folder \Program Files\ConTEXT\Highlighters
Copy Sioc Text File.txt to folder \Program Files\ConTEXT\Template
Launch ConTEXT and select View on the menu bar make sure File Panel is checked.
Under File Panel (left of the screen) navigate to folder \Program Files\ConTEXT\Highlighters
And double click on file Sioc.txt then go to File - Save As and save this file with extension .chl then select File - Close
Under File Panel (left of the screen) navigate to folder \Program Files\ConTEXT\Template
And double click on file Sioc Text File.txt then go to File - Save As and save this file with extension .ctpl then select File - Close
That’s it.
Now load your sioc program you created with Notepad and make sure you have
Select Active Highlighter (far right of the Toolbar) set to Sioc Text File
You should see you program colour coded. To enter a new command press CTRL J and you should have a drop down box showing you all the Sioc Commands just select a command and press enter and the command will be inserted for you double click on the highlighted boxes to enter your variables.
The rest should be easy to understand.
-
Post Thanks / Like - 3 Thanks, 0 Likes, 0 Dislikes
-
04-07-2010, 04:38 PM #4
- Join Date
- Sep 2006
- Location
- Netherlands
- Posts
- 165
Re: An alternative to Notepad for SIOC
Gary,
In the active highlighters box with a lot of different file formats there is a "Normal text file" option but NOT a "SIOC Text File" option.
Did I miss something ?
Hessel
Edit. I presume it has nothing to do with the (typo ?!) extra dot I removed from the above SIOC Text File..txt ?767 Level-D
-
04-07-2010, 05:11 PM #5
- Join Date
- Mar 2009
- Location
- Usa
- Posts
- 389
Re: An alternative to Notepad for SIOC
I just renamed the two files and copied them to :
\Program Files\X-ConTEXT_0.98.6_rev1\Bin\ConTEXT\Highlighters
and
\Program Files\X-ConTEXT_0.98.6_rev1\Bin\ConTEXT\Template
All seem to work fine.
-
04-07-2010, 05:22 PM #6
- Join Date
- Sep 2006
- Location
- Netherlands
- Posts
- 165
Re: An alternative to Notepad for SIOC
Andrew,
Thanks ! that's it. I confused: X-ConTEXT with ConTEXT.
Now it works.
Hessel767 Level-D
-
04-07-2010, 05:26 PM #7
- Join Date
- Mar 2009
- Location
- Usa
- Posts
- 389
Re: An alternative to Notepad for SIOC
You're welcome!! Now, I must make a plan to come and visit you and your sim some time.
-
04-07-2010, 11:44 PM #8
- Join Date
- Jun 2008
- Location
- Jersey Channel Islands
- Posts
- 28
Re: An alternative to Notepad for SIOC
Glad you got it working. It is better to do a File-Save-As in the program as this will insure that the file type is CHL File. If you just rename the files the file type will still show Text Document, well this is the case in Windows Vista.
If you are using a laptop you might want to change the font to Lucida also at the same time you can check that Sioc Text File is your default Highlighter. To do this go to Options-Environment Options select Editor Tab change the font settings at the top to Lucida Size 12.
At the bottom of this window make sure you change the default Highlighter to Sioc Text File.
-
04-08-2010, 07:31 AM #9
- Join Date
- Mar 2006
- Location
- Italy
- Posts
- 27
Re: An alternative to Notepad for SIOC
Gary many thanks to share this editor!!...very useful and working fine!
cheers, ValerioHappy landing!!
-
Post Thanks / Like - 2 Thanks, 0 Likes, 0 Dislikes
Similar Threads
-
Opinions on this alternative to the BU0836X
By boris4356 in forum I/O Interfacing Hardware and SoftwareReplies: 14Last Post: 02-15-2014, 01:14 PM -
An Alternative to TripleHead?
By enela in forum Welcome to MyCockpit New here? Introduce Yourself!Replies: 9Last Post: 05-14-2012, 07:08 AM -
Is this a viable alternative to a BU0836X?
By jongas in forum I/O Interfacing Hardware and SoftwareReplies: 2Last Post: 01-11-2010, 09:23 PM -
pmsystem alternative
By racer590 in forum I/O Interfacing Hardware and SoftwareReplies: 19Last Post: 04-11-2008, 05:46 PM
KIDS TEEN 9year GIRL DAUGHTER WEBSITE: OPEN IN AN ANONYMOUS BROWSER (the link does not work in...
Offsets for Trottle