====== ISettings ====== Scriptable object ===== Description ===== Global Settings Object ===== Properties ===== ^Property^ Description^ |[[scripting:api:settings:async-read-limit|AsyncReadLimit]]| Returns file size from which asynchronous loading shall be used| |[[scripting:api:settings:default-encoding|DefaultEncoding]]| Returns default encoding| |[[scripting:api:settings:default-line-break|DefaultLineBreak]]| Returns default line break style| |[[scripting:api:settings:default-syntax|DefaultSyntax]]| Returns default syntax| |[[scripting:api:settings:no-recent|NoRecent]]| Returns NoRecent flag| |[[scripting:api:settings:search-auto-complete|SearchAutoComplete]]| Returns Search strings Autocompletion mode| |[[scripting:api:settings:search-binary|SearchBinary]]| Returns SearchBinary flag| |[[scripting:api:settings:syntaxes|Syntaxes]]| Returns syntaxes collection| |[[scripting:api:settings:undo-merge-delay|UndoMergeDelay]]| Returns Undo Merge Delay flag| |[[scripting:api:settings:user-directory|UserDirectory]]| Returns user data directory| |[[scripting:api:settings:view-bottom-offset|ViewBottomOffset]]| Returns View Bottom Offset (in lines)| |[[scripting:api:settings:view-left-offset|ViewLeftOffset]]| Returns View Left Offset (in characters)| |[[scripting:api:settings:view-right-offset|ViewRightOffset]]| Returns View Right Offset (in characters)| |[[scripting:api:settings:view-top-offset|ViewTopOffset]]| Returns View Top Offset (in lines)| ===== Methods ===== ^Method^ Description^ |[[scripting:api:settings:adapt-contrast|AdaptContrast]]| Adopt contrast ratio of fore on back color| |[[scripting:api:settings:collect-syntaxes|CollectSyntaxes]]| Collects syntaxes by criteria| |[[scripting:api:settings:detect-file-syntax|DetectFileSyntax]]| Detects syntax based on file name| |[[scripting:api:settings:get-color|GetColor]]| Get color value by name or hex value| |[[scripting:api:settings:get-syntax|GetSyntax]]| Get syntax by Name| |[[scripting:api:settings:load-syntax|LoadSyntax]]| (Re)Load syntax from syntax specification file| ===== See Also ===== [[:scripting:api:application:settings|IApplication::Settings]], [[:scripting:api:frame-events:on-settings-change|IFrameEvents::onSettingsChange]], [[:scripting:api:application:settings|IScriptApplication::Settings]] #API ~~NOTOC~~