Developers Jos Posted October 23, 2015 Developers Posted October 23, 2015 I thank you for this, but I do wonder why mine were the same color.Commentlines (;) use style 1 CommentBlocks (#cs..#cs) use style 2# Comment line style.au3.1=fore:#008000,italics # Comment block style.au3.2=fore:#008000,italicsChange it to what you like to see. The default is similar colors, but the old SciTE color settings were having a slight difference# Comment line style.au3.1=fore:#009933,italics,back:#F0F4F9 # Comment block style.au3.2=fore:#669900,italics,back:#F0F4F9Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Developers Jos Posted October 23, 2015 Developers Posted October 23, 2015 I think I should open a poll for this and If we will see that many want it then maybe he will decide to work on it even though it's big deal. I think it's worth to develop it but this is my personal opinion.You can do whatever you want but I am not going to make the changes to scilexer.dll, all LUA scripts that take comments into account, Tidy and AU3Stripper, just because you like to have this "Nice to Have". Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
nitekram Posted October 23, 2015 Posted October 23, 2015 (edited) As I wrote about the quoting issue that I am plagued with...I am not able to quote you (or at least show it).I can see the difference in color, but it only happens when I start the line with #CE, once I replace #CE is with #CS, it is the exact color of the one line comment. I start my comment lines with #CE all the time, as I want to be able to show what code I want to comment, and starting with #CS, comments out everything below it - if you know what I mean. Edited October 23, 2015 by nitekram 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator
Developers Jos Posted October 23, 2015 Developers Posted October 23, 2015 Sorry but you lost me there ..... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Guest Posted October 23, 2015 Posted October 23, 2015 (edited) You can do whatever you want but I am not going to make the changes to scilexer.dll, all LUA scripts that take comments into account, Tidy and AU3Stripper, just because you like to have this "Nice to Have". JosOk ..Anyway if one day you will have a extra time and desire to do a lot of work for fun then do not forget my suggestion please Edited October 23, 2015 by Guest
nitekram Posted October 23, 2015 Posted October 23, 2015 Sorry but you lost me there ..... When I create a block of comments...I start the block with #ce, as this allow me to see the rest of code in the original color (red for comments ect. - say the comment block is 15 lines or more), if I use #cs to start the line, all the code below the #cs, changes to the default color (what ever color it is). So starting my line with #ce, allows me to see a different color, than the one started with the semi colon (for a one line comment). I can see the different color, it is similar, but I can see the difference. Once I go to the end of my code block and use #ce, I then go up to the start, and change the first #ce, to the correct #cs, this changes all the color in the code block back to the same color that was used for a one line comment. It is a mute point now, as I have change the default color for the code block as suggested above, but it might be something worth checking out on a new install, to see if it carries over? But I uploaded a screen shot, notice the color is close to the original one line code. I can show you the other side, as I have change the default color as of now. http://imgur.com/gallery/A2kVJDp/new 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator
BrewManNH Posted October 23, 2015 Posted October 23, 2015 You wouldn't start a block with #ce, that's what you use to end the block. #CS = #comments-start, #CE = #comments-end. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator
nitekram Posted October 23, 2015 Posted October 23, 2015 You wouldn't start a block with #ce, that's what you use to end the block. #CS = #comments-start, #CE = #comments-end.I start code block with #ce, then go down to where I want to end it and put #ce, for end, then go back uo and change the #ce to #cs to start comment block, it is so that I can still see the syntax color of the code, so I know where it is that I want to end my code block - otherwise all the code changes to comment green. If I need to take screen shots to show you, it will have to wait until tomorrow. 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator
Developers Jos Posted October 24, 2015 Developers Posted October 24, 2015 It is a mute point now, as I have change the default color for the code block as suggested above, but it might be something worth checking out on a new install, to see if it carries over? But I uploaded a screen shot, notice the color is close to the original one line code. I can show you the other side, as I have change the default color as of now. http://imgur.com/gallery/A2kVJDp/new I am still unsure what you are seeing that is wrong. The CommentBlock color is by choice similar to the comment line color by default. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
nitekram Posted October 24, 2015 Posted October 24, 2015 (edited) I am still unsure what you are seeing that is wrong. The CommentBlock color is by choice similar to the comment line color by default. Jos As a default install, if you are saying they are suppose to be different colors, I believe that statement is wrong. As I have said, that I have change nothing, except turning of the ERRORS in the code area of Scite, as Tidy was not always removing them, and I can click in the console area, and get to the line and figure out the ERROR. That being said, when I used the comment blocks (until I just changed them, from info in post #17, using the GUI as that looked a lot easier), there was no difference in color. The only color difference I noticed was when I started by code block with #ce (and I know it is not how to start a code block, but above I have explained why I do it). Since I have changed my color, I did a NEW INSTALL on a VM...please look at the pichttp://imgur.com/gallery/bbjJq/new Edit, added ) Edited October 24, 2015 by nitekram 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator
Developers Jos Posted October 24, 2015 Developers Posted October 24, 2015 Seems my English isn't clear enough. I think I have said now at least 3 times that the Commentblock and Commentline colors are similar (the same) by default!This was decided when the current (new) color scheme was made for SciTE. My old scheme has a slight difference as I stated in post #24 in this thread.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
nitekram Posted October 24, 2015 Posted October 24, 2015 Sorry, I read your post 24 wrong...I like your old color scheme then. Thanks for putting up with an aging old man. Though, 'similar' is not the same as 'the same', the same is the exact copy, while similar is close but not the same. Like the color burgundy is similar to color maroon, but not the same. 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator
Developers Jos Posted October 24, 2015 Developers Posted October 24, 2015 Sorry, I read your post 24 wrong...I like your old color scheme then. Thanks for putting up with an aging old man. Hidden ContentNo worries... mine is aging as well . SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now