Jump to content

SciTE v 3.20 Beta available


Jos
 Share

Recommended Posts

  • Developers

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=0
Default 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 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

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 by wraithdu
Link to comment
Share on other sites

  • Moderators

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Developers

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

  • Developers

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 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

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

  • Developers

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

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 parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Link to comment
Share on other sites

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

  • Developers

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 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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...