Commit Graph

681 Commits

Author SHA1 Message Date
mattias
587c061094 IDE: source editor: pagechanged event when creating the first page
git-svn-id: trunk@42501 -
2013-08-26 12:41:14 +00:00
mattias
e4a286e807 IDE: source editor: call DoActiveEditorChanged after a series of PageIndex changes that result in no change to NoteBook.PageIndex
git-svn-id: trunk@42485 -
2013-08-24 20:41:42 +00:00
mattias
aa1bd75ad1 IDE: source editor SetPageIndex: check if PageIndex=AValue
git-svn-id: trunk@42484 -
2013-08-24 18:48:39 +00:00
mattias
4a79a421e4 IDE: source editor SetPageIndex: check if PageIndex=AValue
git-svn-id: trunk@42483 -
2013-08-24 18:42:17 +00:00
mattias
d01d5e1399 IDE: source editor: fixed marking skipped directives as disabled
git-svn-id: trunk@42482 -
2013-08-24 18:19:46 +00:00
mattias
60925a9ed7 IDE: verbosity
git-svn-id: trunk@42480 -
2013-08-24 16:53:57 +00:00
mattias
f5fa4b3ffe IDE: further migration external tools
git-svn-id: trunk@42293 -
2013-08-03 19:07:12 +00:00
mattias
a3c0c0d439 IDE: further migration external tools
git-svn-id: trunk@42292 -
2013-08-03 18:39:14 +00:00
mattias
146442cbfb LCL: TTextStrings: clear always array entries
git-svn-id: trunk@42096 -
2013-07-15 23:00:00 +00:00
mattias
032f86f34a IDE: clean up
git-svn-id: trunk@42094 -
2013-07-15 20:06:27 +00:00
mattias
9fa72552cf IDE: less updates from codetools to srcedit
git-svn-id: trunk@42043 -
2013-07-09 20:09:39 +00:00
mattias
8014b98269 IDE+synedit: TSynHighlighterAttributes: added Caption:PString for non fixed resourcestring, fixed IDE to use Caption and StoredName correct
git-svn-id: trunk@41720 -
2013-06-14 21:28:58 +00:00
martin
e6c03e1b84 SynEdit: Ifdef Markup: remove ifdef, make live
git-svn-id: trunk@41608 -
2013-06-08 23:05:45 +00:00
martin
35cdca75c0 SynEdit: Ifdef Markup: set node state, on buffer change
git-svn-id: trunk@41598 -
2013-06-08 17:27:29 +00:00
juha
8d30ca2251 IDE: Add 'Select All' to code editor's popup menu. Issue #24037, patch from Howard Page-Clark
git-svn-id: trunk@41525 -
2013-06-04 06:27:21 +00:00
mattias
efec9f2a26 IDE: replaced some MessageDlg with IDEMessageDialog
git-svn-id: trunk@41497 -
2013-06-02 17:27:09 +00:00
mattias
8d549f0ec9 IDE: clean up
git-svn-id: trunk@41422 -
2013-05-26 13:54:04 +00:00
mattias
cb86989cb0 IDE: clean up
git-svn-id: trunk@41420 -
2013-05-26 13:38:24 +00:00
mattias
35ac6f51b9 IDEIntf: undeprecated TSourceEditorWindowInterface.SourceEditorIntfWithFilename and implemented it with avl tree
git-svn-id: trunk@41413 -
2013-05-26 12:21:10 +00:00
martin
69163ed0f1 SynEdit: Ifdef Markup: force update, if settings change
git-svn-id: trunk@41403 -
2013-05-25 17:34:14 +00:00
martin
e3c11bd042 SynEdit: Ifdef Markup: Allow setting state for else
git-svn-id: trunk@41393 -
2013-05-25 13:12:18 +00:00
mattias
d846fce1d2 IDE: sourceeditor: ifdef node states: set idnInvalid for mixed cases
git-svn-id: trunk@41385 -
2013-05-24 16:29:39 +00:00
martin
1be10bb6e1 SynEdit: Ifdef Markup: prevent endless loop
git-svn-id: trunk@41384 -
2013-05-24 10:21:58 +00:00
mattias
26cd305782 IDE: source editor: fixed updating nested ifdefs
git-svn-id: trunk@41372 -
2013-05-23 12:02:49 +00:00
mattias
0fedbb9844 IDE: source editor: debug ifdef nodes synedit.inc
git-svn-id: trunk@41352 -
2013-05-22 13:26:40 +00:00
mattias
70ad03b309 IDE: source editor: update ifdefs for include files
git-svn-id: trunk@41351 -
2013-05-22 13:07:00 +00:00
martin
a3f14d5bbd SynEdit: Ifdef Markup: work with new shared editors
git-svn-id: trunk@41259 -
2013-05-18 20:15:15 +00:00
mattias
b5943c123d IDE: less verbosity
git-svn-id: trunk@41245 -
2013-05-17 21:46:18 +00:00
mattias
8ea9808d75 IDE: sourceeditor: TSourceEditor.UpdateIfDefNodeStates: check if for multiple includes
git-svn-id: trunk@41244 -
2013-05-17 20:49:28 +00:00
martin
1084ad7aed SynEdit: Ifdef Markup: only scan if markup is active
git-svn-id: trunk@41216 -
2013-05-15 20:59:05 +00:00
martin
643bc6aa9d SynEdit: Ifdef Markup: reset idle timer on EditorStateChange only
git-svn-id: trunk@41207 -
2013-05-15 12:25:06 +00:00
martin
618c00afa9 SynEdit: Ifdef Markup: keep node state on edit / wait for idle update
git-svn-id: trunk@41206 -
2013-05-15 12:04:51 +00:00
mattias
c40294c9d2 IDE: sourceeditor: update ifdef node states on input less idle
git-svn-id: trunk@41205 -
2013-05-15 08:44:10 +00:00
mattias
241045c4cb IDE: source editor: fixed typo
git-svn-id: trunk@41204 -
2013-05-15 08:12:56 +00:00
mattias
0431614b1b IDE: source editor: ifdefnode: sync codebuffer
git-svn-id: trunk@41203 -
2013-05-15 08:10:49 +00:00
mattias
0a5a0160d1 IDE: clean up
git-svn-id: trunk@41198 -
2013-05-14 21:53:07 +00:00
mattias
3904b0b4eb IDE: source editor: set elseif
git-svn-id: trunk@41197 -
2013-05-14 21:11:19 +00:00
mattias
5322d2256b IDE: source editor: set only ifs
git-svn-id: trunk@41194 -
2013-05-14 21:05:28 +00:00
martin
7d486bba43 SynEdit: Ifdef Markup: updates
git-svn-id: trunk@41191 -
2013-05-14 16:53:41 +00:00
martin
0f1b45ef98 SynEdit: Ifdef Markup: SourceEditor: Do not invalidate, if all node states are going to be written
git-svn-id: trunk@41190 -
2013-05-14 15:00:29 +00:00
mattias
f83e1b7112 IDE: source editor: set ifdef node states on page changed
git-svn-id: trunk@41185 -
2013-05-14 10:16:03 +00:00
mattias
6b007f92db IDE: TSourceEditor.UpdateIfDefNodeStates: check if scanner has changed
git-svn-id: trunk@41183 -
2013-05-14 07:40:30 +00:00
mattias
739984d131 IDE: fixed caption Free Pascal
git-svn-id: trunk@41165 -
2013-05-13 11:14:10 +00:00
mattias
b24a4ade47 IDE: fixed double release linkscanner
git-svn-id: trunk@41161 -
2013-05-12 18:23:36 +00:00
mattias
7530f8b888 IDE: started ifdef update via codetools
git-svn-id: trunk@41145 -
2013-05-12 08:56:20 +00:00
mattias
a8055fc005 IDE: sourceeditor: disconnect OnIfdefNodeStateRequest
git-svn-id: trunk@41135 -
2013-05-11 20:04:28 +00:00
mattias
d82e018aaf IDE: sourceditor: connect scanner when setting codebuffer
git-svn-id: trunk@41134 -
2013-05-11 19:39:13 +00:00
mattias
d3fc959f04 IDE: store directives when new scanner is initialized and a sourceeditor for the unit exist
git-svn-id: trunk@41132 -
2013-05-11 17:30:13 +00:00
mattias
78f5a14553 codetools: linkscanner: counter for storedirectives
git-svn-id: trunk@41128 -
2013-05-11 09:29:48 +00:00
martin
24f0786690 SynEdit: Starting on Ifdef Markup
git-svn-id: trunk@41103 -
2013-05-09 22:27:23 +00:00
juha
58e631025e Macros: Implement $Confirm() macro. Issuse #11370
git-svn-id: trunk@40968 -
2013-05-01 08:44:56 +00:00
mattias
fd4d0497fc IDE,IDEIntf: added TSourceEditorManagerInterface.ReIndent, added parameter Beautify to TLazProjectFile.SetSourceText
git-svn-id: trunk@40813 -
2013-04-15 08:31:41 +00:00
martin
389ce68238 IDE: SourceEdit: fixed word (word from text, not identifier) completion
git-svn-id: trunk@40394 -
2013-02-24 18:31:05 +00:00
martin
762694f67a IDE: add markup for user defined word-lists
git-svn-id: trunk@40029 -
2013-01-29 18:23:20 +00:00
martin
d67ac0c78c IDE: SourceEditor: reduce work when applying global options
git-svn-id: trunk@39958 -
2013-01-24 20:43:41 +00:00
juha
d451ec6672 IDE: Allow user to create own custom IDE macros and install them to IDE by using packages. Issue #23502, patch from Cyrax
git-svn-id: trunk@39909 -
2013-01-20 09:34:35 +00:00
martin
86cf02bfa5 SourceEditor: Improve session restore, if more than 2 windows were used.
git-svn-id: trunk@39829 -
2013-01-11 14:59:56 +00:00
mattias
4191ccc638 IDE: make resourcestring: focus editor
git-svn-id: trunk@39814 -
2013-01-09 14:43:21 +00:00
mattias
a70beb5187 IDE: update active sourceeditor on MouseDown
git-svn-id: trunk@39709 -
2013-01-01 11:45:40 +00:00
mattias
f531875607 IDE: update active sourceeditor on KeyDown
git-svn-id: trunk@39708 -
2013-01-01 11:43:22 +00:00
mattias
9f25516ea6 IDE: use Sender sourceeditor instead of last active sourceeditor
git-svn-id: trunk@39707 -
2013-01-01 11:33:01 +00:00
martin
87f31fe559 IDE fix smart indent
git-svn-id: trunk@39639 -
2012-12-23 18:30:17 +00:00
martin
650f60c596 IDE: Add option to auto-continue comments
git-svn-id: trunk@39605 -
2012-12-20 23:35:24 +00:00
martin
60e115de93 SourceEditor: Fix get correct Editor, do not use nil object (Beautifier callback).
git-svn-id: trunk@39603 -
2012-12-20 20:44:33 +00:00
mattias
39dde6cf13 IDE: find prompt: shorten texts, bug #23493
git-svn-id: trunk@39575 -
2012-12-18 11:51:46 +00:00
martin
6b37bec961 IDE: added clear all-in-open-files or all-in-current-file bookmarks. Issue #0013428
git-svn-id: trunk@39557 -
2012-12-16 06:09:49 +00:00
martin
a66522e83b SourceEditor: Fixed crash when closing last tab (via ctrl F4) while code-completion was active. Issue #0023317
git-svn-id: trunk@39282 -
2012-11-15 15:33:36 +00:00
juha
37a90f1c94 IDE: Ask user to continue search from the beginning if no matches were found. Issue #23228
git-svn-id: trunk@39237 -
2012-11-02 22:31:01 +00:00
juha
3731f23757 IDE: formatting
git-svn-id: trunk@39212 -
2012-10-31 21:29:18 +00:00
martin
70d1556197 SourceEditor: Use selection as default search only if caret is in/at selection (persistent selection)
git-svn-id: trunk@39101 -
2012-10-16 11:51:25 +00:00
juha
5c22372849 IDE: formatting
git-svn-id: trunk@38700 -
2012-09-16 21:04:52 +00:00
juha
672f5bd862 Replace #13 with LineEnding in many messages. It didn't show correctly on Linux systems.
git-svn-id: trunk@38633 -
2012-09-13 06:39:56 +00:00
martin
55db0fa79e EditorMacros: Refactor, make avail in SrcEditInterface
git-svn-id: trunk@38381 -
2012-08-25 22:46:20 +00:00
martin
1ffcfe06cd EditorMacros: Refactor, do not inherit TSynMacroRecorder
git-svn-id: trunk@38372 -
2012-08-25 13:37:05 +00:00
martin
c0c7de3fea IDE: Export to html, do not enforce check for writeable. Issue #0022588
git-svn-id: trunk@38198 -
2012-08-07 21:40:54 +00:00
mattias
a99a34ebd2 IDE: using UTF8CompareText
git-svn-id: trunk@37960 -
2012-07-16 20:53:37 +00:00
martin
c51dc8a862 SourceEditor: Begin/EndUpdate
git-svn-id: trunk@37877 -
2012-07-05 14:44:38 +00:00
mattias
0200ab2e5b IDE: moved InsertFilename to source editor so that focussing works like other source commands
git-svn-id: trunk@37802 -
2012-06-27 16:06:45 +00:00
mattias
c625dd1c05 IDE: moved InsertGUID to source editor so that focussing works like other source commands
git-svn-id: trunk@37801 -
2012-06-27 16:04:02 +00:00
martin
2dfbcd88d3 SourceEditor: Display stop button, while macro recording
git-svn-id: trunk@37719 -
2012-06-21 18:23:39 +00:00
martin
4eeeddf42d IDE: Added list of recorded editor macros
git-svn-id: trunk@37679 -
2012-06-17 21:16:52 +00:00
mattias
24c2470b43 IDE: using TFileStreamUTF8 and TStringListUTF8
git-svn-id: trunk@37656 -
2012-06-15 16:50:31 +00:00
martin
f5beac7000 SourceEditor: Fix (Work-around) an issue with focusing an editor, that is being closed (while debugging) "no parent handle". Issue #0022015
git-svn-id: trunk@37623 -
2012-06-11 18:47:41 +00:00
martin
9cfccbdc1a DBG: Cancel LineInfo, if unit is closed in editor (forgot file)
git-svn-id: trunk@37502 -
2012-06-03 15:36:37 +00:00
martin
204877981e SourceEditor: Fix an issue with focusing an editor, that is being closed (while debugging) "no parent handle". Issue #0022015
git-svn-id: trunk@37471 -
2012-06-01 14:21:52 +00:00
juha
b1a2dfb791 IDE: Add Source/Insert General/MIT Notice. Issue #22151, patch from Reinier Olislagers
git-svn-id: trunk@37466 -
2012-05-30 16:56:55 +00:00
juha
48d4107e26 IDE: Focus active source editor before executing menu command, did not work with anchordocking. Issue # 22114, modified from patch by Takeda Matsuki
git-svn-id: trunk@37422 -
2012-05-26 07:25:27 +00:00
juha
5b73c6f898 Remove old ifdefs from "deprecated" declarations. They don't work with recent compilers
git-svn-id: trunk@37405 -
2012-05-23 20:28:24 +00:00
martin
ec79d9e28b SourceEdit/DBG: Ensure Codebuffer is updated before using it to add watches
git-svn-id: trunk@37380 -
2012-05-21 16:45:53 +00:00
martin
e27bff3507 SourceEditor: Hide hint, when mouse moves (even if outside IDE, or IDE is not active). Differentiate plain and html hint Issue #0022016
git-svn-id: trunk@37379 -
2012-05-21 16:07:39 +00:00
martin
a66b293fd8 SourceEditor: Hide hint, when mouse moves (even if outside IDE, or IDE is not active). Issue #0022016
git-svn-id: trunk@37378 -
2012-05-21 15:59:20 +00:00
mattias
25cee57606 IDE: fixed uninitialized result
git-svn-id: trunk@37346 -
2012-05-19 09:11:46 +00:00
martin
3b402f3e72 SourceEditor: Added logging/debugln
git-svn-id: trunk@37310 -
2012-05-17 19:11:41 +00:00
martin
f8a052f453 SourceEditor: Fix crash when closing several tabs, while debugging (paused / loading line info). May be related to issue #22015
git-svn-id: trunk@37273 -
2012-05-13 21:46:42 +00:00
martin
d0fa292c28 SourceEdit: Only add tabs to tab-history that were accessed
git-svn-id: trunk@37196 -
2012-05-06 10:48:22 +00:00
martin
b66752bd74 SourceEdit: Do not access outdated tab-history entries (dangling pointers). Issue #0021939
git-svn-id: trunk@37195 -
2012-05-06 10:40:09 +00:00
martin
3b43d6d9d5 Fix compile, for mouse over hint
git-svn-id: trunk@37139 -
2012-05-02 16:41:17 +00:00
martin
7eb5fa6c4a SrcEdit: Improve allow mouse to enter html hint
git-svn-id: trunk@37138 -
2012-05-02 16:33:50 +00:00
martin
0fbe5d3207 Fix compile, for mouse over hint
git-svn-id: trunk@37124 -
2012-05-01 15:39:14 +00:00
martin
ca7b620b13 SrcEdit: Improve allow mouse to enter html hint
git-svn-id: trunk@37123 -
2012-05-01 15:24:49 +00:00