Jump to content

New bug/feature with autoIT's default editor, SCITE


Recommended Posts

'

I went to the scite website, but they don't seem to host a forum, so I'm back. :oops:

There are valid reasons to update, security bugs are fixed and malware vectors are patched.

Don't give me that crap, I wasn't born yesterday.

Never update unless absolutely necessary.

Unfortunately I prove to be right, the latest au3 update has replaced my previous version of scite editor with one that replaced the option replace in buffers with replace in selection.

But I need the old behavior back, as I use scite as my default editor.

And by default replace keywords in multiple files synchroniously.

So I was thinking about installing au3 v3.3.0.0 then backup scite then

install the newer au3 ( I require due to a bug that criples the regular expressions ).

Then overwrite this scite with the backup.

I wonder, if there is a better way that keeps the new version of scite and just re-configures it,

to allow replace in buffers ?

Posted Image

Edited by EdDyreen

• Any number images • Images of any size • Any number of URLs • Any number of lines

Link to comment
Share on other sites

did you instal latest full scite from autoit download section or you talking about version that come with autoit installation?

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

You'll have to enable the funciton in the configuration file:

http://www.scintilla.org/SciTEFAQ.html#ReplaceInFiles

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

I'm using the latest beta of SciTE4AutoIt3 and it's enabled by default.

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

You'll have to enable the funciton in the configuration file:

http://www.scintilla.org/SciTEFAQ.html#ReplaceInFiles

'

Nice, thanks mate :oops:

Posted Image

SciTEGlobal.properties

It is possible to replace a string in all opened buffers with the Replace in Buffers button in the Replace dialog.
However this button is hidden by default, it can be displayed with find.replace.advanced=1.
find.replace.advanced=1
# Global default styles for all languages
# The style.*.32 setting applies font and background color to everything.
style.*.32=$(font.base),back:#000000,fore:#00f0f0
# Caret
caret.fore=#ffffff
caret.line.back=#909090
# Selection
selection.fore=#ff0fff
selection.back=#00ffff
# Line number
style.*.33=$(font.base),back:#000000,fore:#00f0f0
# Fold Margin
fold.margin.colour=#3A6060
fold.margin.highlight.colour=#3A6060
# Brace highlight
style.*.34=fore:#FF6030,bold
# Brace incomplete highlight
style.*.35=fore:#FF0000,bold
# Control characters
style.*.36=
# Indentation guides
style.*.37=fore:#507050
When set to 1, all occurrences of the selected word are highlighted with the colour defined by highlight.current.word.colour.
By default, this option is disabled. (See indicators.alpha and indicators.under)
highlight.current.word=1
The option highlight.current.word.colour defines the colour of highlight. The default value is #A0A000.
If the option highlight.current.word.by.style is set, then only words with the same style are highlighted (e.g. if you select this word in a comment, then only occurrences of words in comments are selected).
highlight.current.word.colour=#ffffff
#highlight.current.word.by.style
# error
style.errorlist.32=$(font.small),back:#000000
# Error Output
style.errorlist.0=fore:#ff0000,back:#000000
# Program Output
#style.errorlist.1=fore:#DADADA
# Error Line
style.errorlist.3=fore:#f0f000,back:#000000
# command or return status
style.errorlist.4=fore:#a0a0ff,back:#000000
The colours used to indicate error and warning lines in both the edit and output panes are set with these two values.
If there is a margin on a pane then a symbol is displayed in the margin to indicate the error message for the output pane or the line causing the error message for the edit pane.
The error.marker.back is used as the fill colour of the symbol and the error.marker.fore as the outline colour.
If there is no margin then the background to the line is set to the error.marker.back colour.
#error.marker.fore=#DADADA
#error.marker.back=#2E3436
Similar to selection.fore, selection.back, selection.alpha.
Sets the colours used for displaying additional selections when multiple selections are enabled or a rectangular selection is made.
#selection.additional.fore
#selection.additional.back
#selection.additional.alpha

The colours used to display bookmarks in the margin. If bookmark.fore is not set then a blue sphere is used.
When the margin is turned off, bookmarks are shown by a change in the background colour of the line with the translucency set with bookmark.alpha.
#bookmark.fore
#bookmark.back
#bookmark.alpha
These two properties defined the fold margin colour and fold margin highlight colour.
If they are not defined (left commented out) the colours for the fold margin will default to a reasonable pair of colours.
On Windows, the system colours are used to make the fold margin appear like the background of scroll bars.
As an example, with fold.margin.colour=#FF0000 and fold.margin.highlight.colour=#0000FF, the fold margin is a mixture of red and blue.
#fold.margin.colour
#fold.margin.highlight.colour
Define the colour of highlight. The colour by default is red (#FF0000).
#fold.highlight.colour

# Misc colours

# Give symbolic names to the set of colours used in the standard styles.
# Block comment
colour.code.comment.box=fore:#b0c0b0,italics,bold
# Line comment
colour.code.comment.line=fore:#b0c0b0,italics,bold
colour.code.comment.doc=fore:#A0C0C0
colour.text.comment=fore:#0000FF,back:#D0F0D0
colour.other.comment=fore:#A0C0C0
colour.embedded.comment=back:#E0EEFF
colour.embedded.js=back:#F0F0FF
colour.notused=back:#FF0000
colour.number=fore:#CCBB77
colour.keyword=fore:#00A0C0
colour.keyword2=fore:#B99C4C
colour.string=fore:#FF7788
colour.char=fore:#FF7788
colour.operator=fore:#F0E0B0
colour.preproc=fore:#D0D000
colour.error=fore:#FFFF00,back:#A05050
#AutoIT styles
# Default
style.au3.32=$(font.base)
# White space
style.au3.0=fore:#00c0a0
# Comment
style.au3.1=$(colour.code.comment.box),$(font.comment),italics
# C++ styles
# Default
style.cpp.32=$(font.base)
# White space
style.cpp.0=fore:#808080
# Comment
style.cpp.1=$(colour.code.comment.box),$(font.code.comment.box),italics
# Line Comment
style.cpp.2=$(colour.code.comment.line),$(font.code.comment.line),italics
# Doc comment
style.cpp.3=$(colour.code.comment.doc),$(font.code.comment.doc),italics
# Number
style.cpp.4=$(colour.number)
# Keyword
style.cpp.5=$(colour.keyword),bold
# Double quoted string
style.cpp.6=$(colour.string)
# Single quoted string
style.cpp.7=$(colour.char)
# UUIDs (only in IDL)
style.cpp.8=fore:#7F7F00
# Preprocessor
style.cpp.9=$(colour.preproc)
# Operators
style.cpp.10=$(colour.operator)
# Identifiers
style.cpp.11=
# End of line where string is not closed
style.cpp.12=$(colour.string),back:#5A5050,eolfilled
# Verbatim strings for C#
style.cpp.13=$(colour.string),back:#5A5050,eolfilled
# Regular expressions for JavaScript
style.cpp.14=$(colour.string),back:#5A5050,eolfilled
# Doc Comment Line
style.cpp.15=$(colour.code.comment.doc),$(font.code.comment.doc)
# Keywords2
style.cpp.16=$(colour.keyword2)
# Comment keyword
style.cpp.17=fore:#3060A0,$(font.code.comment.doc)
# Comment keyword error
style.cpp.18=fore:#804020,$(font.code.comment.doc)
# Braces are only matched in operator style
braces.cpp.style=10
# Conf styles
# Default
style.conf.32=$(font.base)
# whitespace (SCE_CONF_DEFAULT)
style.conf.0=$(font.base)
# Comment (SCE_CONF_COMMENT)
style.conf.1=$(colour.code.comment.box),$(font.comment),italics
# Number (SCE_CONF_NUMBER)
style.conf.2=$(colour.number)
# identifier (SCE_CONF_IDENTIFIER)
style.conf.9=$(colour.preproc)
# Double quoted string (SCE_CONF_STRING)
style.conf.6=$(colour.string)
# Operators (SCE_CONF_OPERATOR)
style.conf.7=$(colour.operator)
# IP address (SCE_CONF_IP)
style.conf.8=$(font.base)
# Properties styles
# Default
style.props.0=$(font.base)
# Comment
style.props.1=$(colour.code.comment.box),$(font.comment),italics
# Section
style.props.2=$(colour.preproc),back:#494949,eolfilled
# Assignment operator
style.props.3=$(colour.keyword2)
# Default value (@)
style.props.4=$(colour.preproc)
# Matched Operators
style.props.34=fore:#FF6030,bold
style.props.35=fore:#FF0000,bold
# Makefile styles
# Default
style.makefile.0=$(font.base)
# Comment: #
style.makefile.1=$(colour.code.comment.box),$(font.comment),italics
comment.block.makefile=#~
# Pre-processor or other comment: !
style.makefile.2=$(colour.preproc)
# Variable: $(x)
style.makefile.3=fore:#9F9F20
# Operator
style.makefile.4=$(colour.operator)
# Target
style.makefile.5=$(colour.preproc)
# Error
style.makefile.9=$(colour.error),eolfilled
# Matched Operators
style.makefile.34=fore:#FF6030,bold
style.makefile.35=fore:#FF0000,bold
# Lua styles
#Default
style.lua.32=$(font.base)
# White space: Visible only in View Whitespace mode (or if it has a back colour)
style.lua.0=fore:#808080
# Block comment (Lua 5.0)
style.lua.1=$(colour.code.comment.box),$(font.code.comment.box),back:#305950,eolfilled,italics
# Line comment
style.lua.2=$(colour.code.comment.line),$(font.code.comment.line),italics
# Doc comment -- Not used in Lua (yet?)
style.lua.3=$(colour.notused),$(font.notused)
# Number
style.lua.4=$(colour.number)
# Keyword
style.lua.5=$(colour.keyword)
# (Double quoted) String
style.lua.6=$(colour.string)
# Character (Single quoted string)
style.lua.7=$(colour.char)
# Literal string
style.lua.8=$(colour.string),$(font.code.comment.box),back:#E0FFFF
# Preprocessor (obsolete in Lua 4.0 and up)
style.lua.9=$(colour.preproc)
# Operators
style.lua.10=$(colour.operator)
# Identifier (everything else...)
style.lua.11=$(font.base)
# End of line where string is not closed
style.lua.12=$(colour.string),back:#5A5050,eolfilled
# Other keywords
style.lua.13=$(style.lua.5)
style.lua.14=$(style.lua.5)
style.lua.15=$(style.lua.5)
style.lua.16=$(style.lua.5)
style.lua.17=$(style.lua.5)
style.lua.18=$(style.lua.5)
style.lua.19=$(style.lua.5)
# Braces are only matched in operator style
braces.lua.style=10
# Batch styles
# Default
style.batch.0=$(font.base)
# Comment (rem or ::)
style.batch.1=$(colour.code.comment.box),$(font.comment),italics
# Keywords
style.batch.2=$(colour.keyword),bold
# Label (line beginning with ':')
style.batch.3=$(colour.preproc),back:#494949,eolfilled
# Hide command character ('@')
style.batch.4=$(colour.preproc)
# External commands
style.batch.5=fore:#007090,$(font.monospace),bold
# Variable: %%x (x is almost whatever, except space and %), %n (n in [0-9]), %EnvironmentVar%
style.batch.6=$(font.base)
# Operator: * ? < > |
style.batch.7=$(colour.operator)
# Bash styles
# Default
style.bash.32=$(font.base)
# White space
style.bash.0=fore:#808080,$(font.base)
# Error
style.bash.1=$(colour.error)
# Comment
style.bash.2=$(colour.code.comment.box),$(font.comment),italics
# Number
style.bash.3=$(colour.number)
# Keyword
style.bash.4=$(colour.keyword),bold
# Double quoted string
style.bash.5=$(colour.string),$(font.monospace)
# Single quoted string
style.bash.6=$(colour.char),$(font.monospace)
# Operators
style.bash.7=$(colour.operator),bold
# Identifiers (functions, etc.)
style.bash.8=$(font.base)
# Scalars: $var
style.bash.9=fore:#000000,back:#FFE0E0
# Parameter expansion: ${var}
style.bash.10=fore:#000000,back:#FFFFE0
# Back Ticks
style.bash.11=fore:#FFFF00,back:#A08080
# Here-doc (delimiter)
style.bash.12=fore:#000000,back:#DDD0DD
# Here-doc (single quoted, q)
style.bash.13=fore:#7F007F,back:#DDD0DD,eolfilled,notbold
# Braces are only matched in operator style
braces.bash.style=7
Edited by EdDyreen

• Any number images • Images of any size • Any number of URLs • Any number of lines

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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