qwert Posted February 5, 2014 Posted February 5, 2014 ► Which feature can I use to get rid of the "highlight matching" ► What controls the colors used for the error boxes? (I see the setting for turning off inline errors.) ► Does anyone know of a page that offers suggested editor settings? ... and maybe shows examples? I recently upgraded and, IMHO, some of the new defaults are getting a little wild. Thanks for any help.
BrewManNH Posted February 5, 2014 Posted February 5, 2014 #1 # 0 turns it off highlight.current.word=1 #2 # Display settings for inline errors on the source Jump to first is supported via autoit3wrapper only. error.inline=1 error.jump.to.first=1 # style.error.0=back:#F0F0F0,fore:#ff0000,xfont:Consolas,size:8.7 style.error.1=fore:#FF0000,back:#FFFF00 style.error.2=fore:#FFFFFF,back:#FF0000 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
Developers Jos Posted February 5, 2014 Developers Posted February 5, 2014 I recently upgraded and, IMHO, some of the new defaults are getting a little wild. Care to explain because I don't think I've made any recent changes? The Highlight matching words and Inline Errors features were released in the SciTE version of June 2012. They are both easy to switch off, but are to my humble opinion pretty nice features to speed up editing. 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.
qwert Posted February 5, 2014 Author Posted February 5, 2014 @ BrewManNH: Thanks. I searched my AU3 directory and found highlight.current.word in the Global.Properties ... and then searched back in the SciTE help and found this full description. It was there but I didn't know it. I was looking too hard in the Config settings, since that's where all the other colors are. Add tooltips within the script for Au3Check errors and warning error.inline=1 style.error.1=fore:#000000,back:#FFFFD0 style.error.2=fore:#000000,back:#FFD0D0 The style lines set the fore and back colours for the warning and error tooltips. These tooltips are in addition to the display in the SciTE console and are automatically removed by SciTE when the line is corrected and Au3Check rerun. Highlight all instances of the currently selected word highlight.current.word=1 highlight.current.word.by.style=1 highlight.current.word.autoselectword=0 highlight.current.word.wholeword=0 highlight.current.word.matchcase=0 highlight.current.word.minlength=3 highlight.current.word.colour=#00D040 indicators.alpha=63 indicators.under=1 The lines above are the default settings in the SciTEGlobal file. To disable the highlighting set the first line to 0. The next 5 lines set the requirements for SciTE to match the other instances of the selected word, while the final 3 set the colour of the additional highlighting. Edit Instructions: ►In SciTE, open <Au3 Directory>SciTESciTEGlobal.properties ►Search for highlight.current.word ... then make change(s) ►Search for error.inline ... then make change(s) ►Save ... then Close. The changes take effect immediately. @Jos: I'll offer these two points: 1. As odd as it might seem, I really was running SciTE from about 2011. I had never seen these two features. 2. Maybe I make more errors than most, but imagine what a screen looks like with four or five of the dual error blocks on it. They're visually "jarring" (equivalent to a loud buzzer going off) ... and they really disrupt the flow of the code. I prefer it to tell me the line number and a short description ... IOW, like it used to be. I guess we all have our ways ... which is why you've made it so configurable. I mentioned this before: it's one of the two or three best pieces of software I've ever used. My quest for these adjustments to the settings is only to keep it "best" for me. Thanks for asking about this.
Developers Jos Posted February 5, 2014 Developers Posted February 5, 2014 @Jos: I'll offer these two points:1. As odd as it might seem, I really was running SciTE from about 2011. I had never seen these two features. 2. Maybe I make more errors than most, but imagine what a screen looks like with four or five of the dual error blocks on it. They're visually "jarring" (equivalent to a loud buzzer going off) ... and they really disrupt the flow of the code. I prefer it to tell me the line number and a short description ... IOW, like it used to be. I guess we all have our ways ... which is why you've made it so configurable. I mentioned this before: it's one of the two or three best pieces of software I've ever used. My quest for these adjustments to the settings is only to keep it "best" for me. Thanks for asking about this. I will have a look to see to add the Word matching settings also to SciTEConfig so they are easier to configure. The Inline error thing could be overwhelming in the beginning but it does automatically jump to the first error and is easy to work your way through them by pressing F4. Cheers 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.
qwert Posted February 5, 2014 Author Posted February 5, 2014 Here's an example of how I've configured the features. I use Segoe UI SemiBold. I'll see how the lightened error boxes work out for me. Thanks again for the help on this.
Moderators Melba23 Posted February 6, 2014 Moderators Posted February 6, 2014 qwert,I have added the "inline error" colours and the "word selection" options and colour to SciTEConfig and sent the resulting script to Jos. If he likes it you might get to see these new configuration options in the next release. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
qwert Posted February 6, 2014 Author Posted February 6, 2014 That's good to hear. And I'll try to do better at keeping up with changes!
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