Commit Graph

569 Commits

Author SHA1 Message Date
juha
f76b3198f9 IDE: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64504 -
2021-02-08 19:09:20 +00:00
ondrej
1e0749d516 IDE: fix compilation for latest SynEdit changes
git-svn-id: trunk@64494 -
2021-02-05 14:34:09 +00:00
juha
bfd8af82ca IDE: Fix reading versions in TEditorOptions.LoadCodeTemplates. Requires ValueFromIndex().
git-svn-id: trunk@64468 -
2021-02-05 11:28:19 +00:00
martin
41f5ee5ea0 IdeIntf: added TIDEEditorOptions.CreateSynHighlighter
git-svn-id: trunk@64428 -
2021-01-27 21:00:17 +00:00
juha
751852a44a LazUtils: New function UTF8CompareLatinTextFast. Use in IDE instead of UTF8CompareText.
git-svn-id: trunk@64385 -
2021-01-14 13:52:23 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
fafaeaa996 IDE: Use case insensitive CompareText in TQuickStringlist and dump Uppercase calls. Speeds up the code dramatically!
git-svn-id: trunk@64343 -
2021-01-06 17:01:41 +00:00
juha
4f72e49e72 IDE: Move StrToValidXMLName() out of a loop. Remove check from KeyMapSchemeNames[kmsLazarus]), it is valid.
git-svn-id: trunk@64342 -
2021-01-06 17:01:40 +00:00
juha
0afb05acb9 IDE: Cleanup.
git-svn-id: trunk@64341 -
2021-01-06 17:01:38 +00:00
juha
091df3edb7 IDE: Refactor EditorOptions. Class TEditorOptionsDefaults holds only published properties needed for RttiXmlConfig. No useless duplication.
git-svn-id: trunk@64340 -
2021-01-06 11:18:40 +00:00
juha
0df617c5c1 IDE: Reuse EditorOptions UserColorSchemeGroup singleton values. No copy needed. Git Gui got confused, diff is bigger than it should.
git-svn-id: trunk@64339 -
2021-01-05 20:53:56 +00:00
juha
79bf1adf19 IDE: Revert r64332 #9383577ef7. Attributes[] is called from many places without UpperCase.
git-svn-id: trunk@64338 -
2021-01-05 19:58:16 +00:00
juha
80056f13d9 IDE: Remove support of old config versions from TColorSchemeAttribute.LoadFromXml.
git-svn-id: trunk@64333 -
2021-01-04 15:56:34 +00:00
juha
9383577ef7 IDE: Optimize TColorSchemeAttribute lookup by storing UpperCase name for comparison.
git-svn-id: trunk@64332 -
2021-01-04 15:56:32 +00:00
juha
9acf3c4388 IDE: Implement cache for attribute SchemeGlobal. FAttributes.IndexOf() calls drop to ~19700.
git-svn-id: trunk@64331 -
2021-01-04 15:56:31 +00:00
juha
44cce07479 IDE: Minor optimization for EditorOptions. Debug TColorSchemeLanguage.FAttributes. IndexOf() is called ~31000 times at startup.
git-svn-id: trunk@64330 -
2021-01-04 15:56:30 +00:00
juha
186eb16098 IDE: Optimize Assign() of EditorOptions classes.
git-svn-id: trunk@64329 -
2021-01-04 15:56:29 +00:00
juha
1e43ac6865 IDE: Study EditorOptions assignments with debug code. Turn methods into global funcs. Refactoring.
git-svn-id: trunk@64328 -
2021-01-04 15:56:28 +00:00
juha
3feac99f06 Designer, editor: Formatting.
git-svn-id: trunk@64302 -
2020-12-29 22:56:31 +00:00
martin
94b1982906 SynEdit: do not drag selection if shift is hold. This is for altering the selection. Issue #0037963
git-svn-id: trunk@64257 -
2020-12-20 19:38:19 +00:00
martin
c63e4ba86a SynEdit,IDE: Move Highlight-Style-Priority setting to base attribute. Now Highlighter colors have a priority, so some colors (e.g. String, Comment) can hide some Markup colors.
git-svn-id: trunk@63540 -
2020-07-10 19:38:45 +00:00
martin
aefa3215f8 IDE, SynEdit: New options for auto scroll on edit
git-svn-id: trunk@63217 -
2020-05-23 22:54:52 +00:00
martin
67d6109619 IDE: Code-Templates, fix mem leak / Correct extend of try-except block (do not hide errors, that are not expected/handled)
git-svn-id: trunk@62285 -
2019-11-22 21:22:38 +00:00
martin
524c8b9565 IDE: Code-Templates, add version and file-version
git-svn-id: trunk@62274 -
2019-11-18 22:43:08 +00:00
martin
426a0e8392 IDE: Code-Templates, do not create lazarus.dci unless it is modified.
git-svn-id: trunk@62272 -
2019-11-18 22:43:05 +00:00
martin
c018dfafb9 IDE: Code-Templates, use default (from resource) if file does not exist.
git-svn-id: trunk@62271 -
2019-11-18 22:43:04 +00:00
martin
80b7820ea9 IDE: Code-Templates, move loading/saving to editoroptions / remove reference to no longer used default-file (which is in resource now)
git-svn-id: trunk@62270 -
2019-11-18 22:43:02 +00:00
martin
62c238500c IDE: add Editor-Option, to prevent scroll on select all/paragraph/to-brace
git-svn-id: trunk@62182 -
2019-11-03 21:44:54 +00:00
martin
9a58bacd0a IDE, EditorOptions: add colors for Overview-Gutter / fix modified/save indicator colors (swapped)
git-svn-id: trunk@61096 -
2019-04-30 23:15:53 +00:00
martin
c12c24dc34 IDE, EditorOptions: add colors for Overview-Gutter
git-svn-id: trunk@61095 -
2019-04-30 22:54:27 +00:00
juha
73c8d8326e IDE: Separate delays for hints and completion box. Issue #29482, patch from Paweł Dmitruk.
git-svn-id: trunk@60691 -
2019-03-15 22:17:12 +00:00
martin
ad6f9cffb4 IDE: Update for SynEdit horizontal mouse wheel
git-svn-id: trunk@60563 -
2019-03-02 19:29:58 +00:00
martin
781767973e IDE, SourceEditor: Implement "Close tabs on right". Issue #0029929
git-svn-id: trunk@60016 -
2019-01-06 18:41:19 +00:00
mattias
83d485c1f5 IDE: clean up
git-svn-id: trunk@59587 -
2018-11-18 10:51:13 +00:00
martin
995e509d32 EditorOpts: refactor
git-svn-id: trunk@59387 -
2018-10-29 20:47:52 +00:00
martin
c825d4842d SynEdit, EditorOpts: fix color for outline
git-svn-id: trunk@58744 -
2018-08-20 12:45:46 +00:00
juha
f8fcb833f4 IDE: Macro support for module's filename in "Code Templates" dialog. Issue #33901, patch from errno.
git-svn-id: trunk@58678 -
2018-08-05 08:32:02 +00:00
martin
23c3367033 IDE, EditorOpts: fix default color for multicaret
git-svn-id: trunk@58666 -
2018-08-02 14:42:11 +00:00
martin
2ebe6b1bf7 IDE, EditorOpts: fix default color for multicaret
git-svn-id: trunk@58664 -
2018-08-02 10:03:16 +00:00
martin
17dd3e68b9 SynEdit: Caret Color
git-svn-id: trunk@58647 -
2018-07-28 18:01:10 +00:00
blikblum
9b85717453 ide: fix uninitialized variable in TColorSchemeLanguage.ApplyTo
git-svn-id: trunk@58633 -
2018-07-25 17:55:34 +00:00
juha
6d3f9bd7a7 LazUtils: Move string manipulation functions from IDEProcs to LazStringUtils.
git-svn-id: trunk@58632 -
2018-07-25 13:39:06 +00:00
martin
ef438f7a45 IDE, SynEdit: MarkupFoldColor, more options to set colors
git-svn-id: trunk@58581 -
2018-07-20 01:12:11 +00:00
martin
77a94a7cd1 IDE, SourceEditor: added css highlight. issue #030519 patch by Darek Mazur
git-svn-id: trunk@58543 -
2018-07-16 12:00:47 +00:00
martin
6f9cdaefbe SynEdit: Option to have a static (none blinking) persistent caret. Issue #0033653
git-svn-id: trunk@58534 -
2018-07-15 19:49:49 +00:00
martin
55cc39a0a8 SynEdit: Option for left/right to remove selection and keep caret pos. Issue #028152
git-svn-id: trunk@58532 -
2018-07-15 17:09:43 +00:00
juha
8bed6f8ca0 IdeIntf: Split IDEOptionsIntf into a new IDEOptEditorIntf.
git-svn-id: trunk@58208 -
2018-06-09 14:40:08 +00:00
martin
5ab71e4e90 SynEdit: multi caret, option to prevent ecDelete from joining lines (skip delete linebreak)
git-svn-id: trunk@58193 -
2018-06-08 21:44:44 +00:00
martin
98b1d8f6ad SynEdit: multi caret, allow espape (remove all carets) to be shared with other plugins / make "escape" default
git-svn-id: trunk@58190 -
2018-06-08 20:51:13 +00:00
martin
bd833943f7 IDE: Config for SynEdit outline colors. Issue #32930
git-svn-id: trunk@57182 -
2018-01-29 21:03:14 +00:00