Author Topic: SciTe Files  (Read 14582 times)

0 Members and 1 Guest are viewing this topic.

kryton9

  • Guest
SciTe Files
« on: June 24, 2011, 08:12:10 PM »
Guys, I spent the last couple of days cleaning out the SciTe properties files and organzing them so it is easy to make changes.

SciTeGlobal.properties - general scite properties are set here, what is visible etc.

These are now located in the IDE subfolder:
Oxygen.properties - you set Keywords in this file.

ThemeLight, ThemeDark.properties - to change color and font settings.

SciTeQuickReference.txt - I wrote this to help use scite easier.

ThemesX.properties - X standing for the type of theme colors, Light, Dark etc. The default uses the light theme.
To change a theme, just comment and uncomment the appropriate lines in Oxygen.properties at the end of the file.

One last thing. I changed the output window from being at the bottom to being on the right side.
I think most of us have widescreen displays and I thought this is a better arrangement.

Update: Oxygen now comes with these files and fixes, so they have been removed from the attachments now.
« Last Edit: June 29, 2011, 03:46:43 PM by kryton9 »

kryton9

  • Guest
Re: SciTe Files
« Reply #1 on: June 24, 2011, 08:51:59 PM »
Updated:  This post has been changed to reflect the newest things.

There are now 3 default color themes that come with Oxygen. By Default, ThemeStandard is used.
ThemeLight and ThemeDark are available for you to customize to your needs.

[attachment deleted by admin]

[attachment deleted by admin]

[attachment deleted by admin]
« Last Edit: June 29, 2011, 04:00:58 PM by kryton9 »

kryton9

  • Guest
Re: SciTe Files
« Reply #2 on: June 24, 2011, 11:23:23 PM »
Ok, I got it so that you can switch between text and oxygen highlighting. I fixed the selection coloring.
I had the code fold margins working for both themes, but somehow along the way they stopped working.
Too tired to figure it out. It must have been something in the Global Properties I added.

I just through these themes together to give users a chance to go in and customize to their hearts content.

With the new text language selection, it is almost like having 3 themes :)

I put all the files into one zip, easier to download and quicker. See the first post.

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #3 on: June 25, 2011, 12:44:19 AM »

Many thanks for all your work Kent,

I will integrate these Scite files into the system. I have added an IDE folder to hold these files.

May need to fine-tune the lighter colors for visibility.

Charles

kryton9

  • Guest
Re: SciTe Files
« Reply #4 on: June 25, 2011, 01:14:31 PM »
Make any changes that you see fit Charles. I just sort of put those together as starters. In the coming days as we use it to write code, I am sure we will make changes to the colors and also perhaps find things to adjust. That is why yesterday, I made so many changes. I noticed when I put the themes in, in the dark theme, you didn't see the caret and very hard to see selections, so I had to add that code in to fix that, but then that messed up the code fold margin for dark themes.

kryton9

  • Guest
Re: SciTe Files
« Reply #5 on: June 28, 2011, 04:50:08 PM »
I updated the first post to reflect new changes I added to the SciTe properties.

New fixes:
I noticed some of my references won't align properly, that is because I use monospace New Courier but SciTe was using verdana. So I made monospace New Courier default and set the default size to 10
don't forget you can increase the size with numpad ctrl + and decrease with numpad ctrl -   reset to default size (10)  numpad ctrl /

missing parenthesis highlight red
matching parenthesis highlight in magenta

you can now block comment and uncomment code
Select the lines of code to comment, then either do:
Menu:Edit:Block Comment
or use shortcut ctrl-Q this toggles highlighted lines with comments or uncomments

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #6 on: June 28, 2011, 08:40:41 PM »

Hi Kent,

On the prior releases I made quite a few changes to Oxygen.properties:

1 Removing C keywords
2 Removing redundant keywords
3 Adding new secondary keywords
4 Changing the F5 Execution line so it runs directly from source instead of EXE.

In SciteGlobal I changed verdana to Courier but you have done that anyway.

Thanks!

Charles

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #7 on: June 29, 2011, 01:36:30 AM »

Kent,

I have added all your files to the system apart from Oxygen.properties. The default theme is ThemeStandard, which gives fairly high contrast characters but not very colourful. These are located in the ide folder.

Charles

kryton9

  • Guest
Re: SciTe Files
« Reply #8 on: June 29, 2011, 01:41:30 AM »
Thanks Charles, I will use your oxygen and update it with the latest other things if needed.

kryton9

  • Guest
Re: SciTe Files
« Reply #9 on: June 29, 2011, 03:43:12 PM »
Charles, just add this line to your oxygen.properties. This simple line allows for multi-line commenting and uncommenting via either the menu or ctrl q
I put mine right above the comment: # OXYGEN TOOLS  as shown below

comment.block.vb='

# OXYGEN TOOLS


I am going to remove my attachment to the first post since you have it in the oxygen downloads to eliminate any confusion.
« Last Edit: June 29, 2011, 03:45:51 PM by kryton9 »

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #10 on: June 29, 2011, 10:39:33 PM »

Done. Thanks Kent.

kryton9

  • Guest
updated SciTe Quick Reference
« Reply #11 on: June 30, 2011, 01:49:05 AM »
Here is an updated SciTe Quick Reference.

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #12 on: June 30, 2011, 08:39:45 PM »
Thanks Kent, I will include this in the next O2 later today.

Charles

kryton9

  • Guest
Re: SciTe Files
« Reply #13 on: July 01, 2011, 01:50:21 AM »
Just found this neat command. I added it to my oxygen.properties, but it could also go into a theme. This way you could have one theme that uses it and another theme that does not.
autocompleteword.automatic=1
Here is where I added it in Oxygen.Properties file:
Code: [Select]
autocompleteword.automatic=1
comment.block.vb='

##
# OXYGEN TOOLS

It automatically brings up any entry that you already entered. It is very fast and handy. I am reading up on creating an api file, this will bring intellisense to oxygen :)

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #14 on: July 01, 2011, 02:17:26 AM »
Can't do that in notepad :)
Thanks Kent.