Developers Jos Posted February 6, 2012 Author Developers Share Posted February 6, 2012 (edited) I guess it's a personal preferences then, but I hate the fact it highlights EVERY word I click on every time I move the mouse. I much prefer the Notepad++ (and my function) behavior. But the point back to Jos is yes, it is different behavior. I like the option and have a modification working in SciTE 3.03 that this is configurable by specifying the keyword "autoselectword": highlight.current.word=1 highlight.current.word.colour=#7FFFD4 highlight.current.word.by.style=1 highlight.current.word.autoselectword=0Default behavior is 1 I have uploaded a new version of SciTE v3.03 which is equal to the released source and includes these extra changes: - The CurrentWord highlighting modification. - With the Stream Comment option (Ctrl+Shift+Q) the Commentblock start and endwill be on their own line when "comment.block.at.line.start.au3=1" is specified. Edited February 6, 2012 by 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. Link to comment Share on other sites More sharing options...
wraithdu Posted February 6, 2012 Share Posted February 6, 2012 (edited) Can you elaborate on how that works exactly? I grabbed the new version but I'm seeing the same behavior as previously - clicking anywhere in a word auto highlights the word - and your new setting doesn't seem to have any effect. Edited February 6, 2012 by wraithdu Link to comment Share on other sites More sharing options...
Developers Jos Posted February 6, 2012 Author Developers Share Posted February 6, 2012 Did you add this to SciTEUser.properties?:highlight.current.word.autoselectword=0 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. Link to comment Share on other sites More sharing options...
wraithdu Posted February 6, 2012 Share Posted February 6, 2012 Yes sir I did! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 6, 2012 Moderators Share Posted February 6, 2012 Jos, Very nice addition. wraithdu, I see the following: highlight.current.word=0 with autoselectword=0 or 1 --- Nothing works highlight.current.word=1 with autoselectword=0 --- Highlight a word and all other instances are highlighted (highlit?) highlight.current.word=1 with autoselectword=1 --- Put the cursor on a word and all other instances are highlit 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted February 6, 2012 Author Developers Share Posted February 6, 2012 Don't understand. I have the above posted settings and its working fine for me. The SciTE you run is 3.03 and created Feb 6 2012 20:26:06 when you check the Help/About? 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. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 6, 2012 Author Developers Share Posted February 6, 2012 (edited) Jos, Very nice addition. wraithdu, I see the following: highlight.current.word=0 with autoselectword=0 or 1 --- Nothing works highlight.current.word=1 with autoselectword=0 --- Highlight a word and all other instances are highlighted (highlit?) highlight.current.word=1 with autoselectword=1 --- Put the cursor on a word and all other instances are highlit M23 Thanks for keeping me sane. By the way: this setting determines whether all other instances are highlighted or only the instances with the same Style. highlight.current.word.by.style=1 Jos Edited February 6, 2012 by 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. Link to comment Share on other sites More sharing options...
wraithdu Posted February 6, 2012 Share Posted February 6, 2012 Goddamn caching enterprise proxies!! Yes it works now. Any chance to get another setting to allow highlighting of a selection greater than some amount, but less than a whole word? My function allows a setting for a minimum number of highlighted characters to introduce the highlighting, without having to highlight a whole "word" as SciTE defines it. It also incidentally allows highlighting *more* than a word. Link to comment Share on other sites More sharing options...
wraithdu Posted February 6, 2012 Share Posted February 6, 2012 Scite's version also seems to be case sensitive. It would probably be good to allow an adjustment there as well. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 7, 2012 Author Developers Share Posted February 7, 2012 Scite's version also seems to be case sensitive. It would probably be good to allow an adjustment there as well. I have added 2 extra options to the current Beta SciTE 3.03, (wholeword and matchcase) and the both default to 1: highlight.current.word=1 highlight.current.word.by.style=1 highlight.current.word.colour=#00D040 highlight.current.word.autoselectword=0 highlight.current.word.wholeword=0 highlight.current.word.matchcase=0 indicators.alpha=63 indicators.under=1 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. Link to comment Share on other sites More sharing options...
guinness Posted February 7, 2012 Share Posted February 7, 2012 That's a nice little addition Jos & wraithdu. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
wraithdu Posted February 8, 2012 Share Posted February 8, 2012 I have added 2 extra options to the current Beta SciTE 3.03, (wholeword and matchcase) and the both default to 1:Very nice My last request would be a minimum selected character option, so that it wouldn't start highlighting until the set number of characters have been selected, ie you must select at least 2 characters before anything is highlighted. This would of course only apply when wholeword=0. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 8, 2012 Author Developers Share Posted February 8, 2012 (edited) highlight.current.word=1 highlight.current.word.by.style=1 highlight.current.word.colour=#00D040 #~ highlight.current.word.autoselectword=1 #~ highlight.current.word.wholeword=1 #~ highlight.current.word.matchcase=1 #~ highlight.current.word.minlength=2 Added .minlenght to the parameters in the latest Beta available and set the default to 2. Edited February 8, 2012 by Jos fixed 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. Link to comment Share on other sites More sharing options...
wraithdu Posted February 8, 2012 Share Posted February 8, 2012 Is it actually spelled as you wrote... .minlenght, or correctly as .minlength? Link to comment Share on other sites More sharing options...
Developers Jos Posted February 8, 2012 Author Developers Share Posted February 8, 2012 Should have been .minlength and is now fixed.thanks,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. Link to comment Share on other sites More sharing options...
wraithdu Posted February 8, 2012 Share Posted February 8, 2012 Nicely done! I think I can stop picking on you now Link to comment Share on other sites More sharing options...
Developers Jos Posted February 8, 2012 Author Developers Share Posted February 8, 2012 We don't have that "th" or "ht" stuff in Dutch and would simply be "lengte" 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. Link to comment Share on other sites More sharing options...
Richard Robertson Posted February 9, 2012 Share Posted February 9, 2012 But I'm sure you have equally as ambiguous lettering in Dutch somewhere. Link to comment Share on other sites More sharing options...
jvanegmond Posted February 9, 2012 Share Posted February 9, 2012 But I'm sure you have equally as ambiguous lettering in Dutch somewhere.ch and g. github.com/jvanegmond Link to comment Share on other sites More sharing options...
matwachich Posted February 11, 2012 Share Posted February 11, 2012 Here is my Hope you like it! Link to comment Share on other sites More sharing options...
Recommended Posts