Commit Graph

396 Commits

Author SHA1 Message Date
martin
7b938aafdc SourceEditor, fixed accidental removed method from SrcEditorInterface
git-svn-id: trunk@24235 -
2010-03-27 00:03:48 +00:00
martin
9a7417e467 SourceEditor, switch tabs correctly on gtk2
git-svn-id: trunk@24233 -
2010-03-26 23:37:09 +00:00
martin
220072f09b SourceEditor: Fix indent with more than window
git-svn-id: trunk@24232 -
2010-03-26 21:58:40 +00:00
martin
dac2e43b34 SourceEditor: Refactor, removed dependency on Project unit
git-svn-id: trunk@24231 -
2010-03-26 21:49:08 +00:00
martin
508e666df5 SourceEditor: Fixed a crash when closing the IDE
git-svn-id: trunk@24211 -
2010-03-25 18:52:13 +00:00
martin
c4daaafe0c SourceEditor: try to make QT happy
git-svn-id: trunk@24210 -
2010-03-25 15:38:38 +00:00
paul
6bce7d6359 ide: fix sourceeditor pointer to name assigning
git-svn-id: trunk@24207 -
2010-03-25 08:38:46 +00:00
martin
601db0896e SourceEditor: dragging between windows
git-svn-id: trunk@24202 -
2010-03-24 22:56:22 +00:00
martin
f63f0431c6 SourceEditor: allow dragging between windows / Fix exception on IDE close
git-svn-id: trunk@24201 -
2010-03-24 22:47:32 +00:00
martin
9e564a1120 SourceEditor: Notify on window change (fpdoc, main-bar)
git-svn-id: trunk@24200 -
2010-03-24 22:21:18 +00:00
martin
6148dfd9c9 SourceEditor: Improved active window detection
git-svn-id: trunk@24197 -
2010-03-24 20:33:44 +00:00
martin
1ba48c8a9c SourceEditor: Make multi-window default
git-svn-id: trunk@24195 -
2010-03-24 19:12:23 +00:00
martin
3e92d4df61 SourceEditor/IDE Layout: more multi-window changes
git-svn-id: trunk@24194 -
2010-03-24 18:28:00 +00:00
martin
8b3fc5709e SourcEditor: Fixed compilation, due to misplaced {$EndIf}
git-svn-id: trunk@24182 -
2010-03-23 15:00:17 +00:00
martin
37751a639b SourceEditor: Starting Multi-SourceNotebook support ( -dMultiSrcWindow )
git-svn-id: trunk@24180 -
2010-03-23 12:06:27 +00:00
martin
a06e2d5c99 SourceEdito: Clean up; removed unused(duplicate) methods
git-svn-id: trunk@24175 -
2010-03-22 19:20:28 +00:00
martin
2a5d82df8c SourceEditor: Refactored notebook access
git-svn-id: trunk@24174 -
2010-03-22 19:03:16 +00:00
martin
9514e35650 SourceEditor: Refactor creation/destruction of helpers
git-svn-id: trunk@24172 -
2010-03-22 15:21:00 +00:00
martin
0a65211785 SourceEditor: Refactor ident-completion, Clean-up
git-svn-id: trunk@24171 -
2010-03-22 14:40:35 +00:00
martin
4d8114c3f6 SourceEditor: Fixed updating source-marks (breakpoints)
git-svn-id: trunk@24160 -
2010-03-22 03:05:20 +00:00
martin
5bb8bf59f1 SourceEditor, Refactor: Moved completion-form to own class, moved code templates to manager
git-svn-id: trunk@24159 -
2010-03-22 02:06:34 +00:00
martin
0ebddaa599 SourceEditor: Refactor, move creation of some global objects to Manager
git-svn-id: trunk@24145 -
2010-03-21 14:35:20 +00:00
martin
9e0ad791fc SourceEditor: small fixes to not yet used code (multi window)
git-svn-id: trunk@24123 -
2010-03-21 00:00:41 +00:00
martin
b4cdc88cfb SourceEditor: Do not take focus, if Designer updates. Issue #16059
git-svn-id: trunk@24120 -
2010-03-20 19:44:06 +00:00
martin
9040201c83 IDE/SourceEditor/Packages: Using SourceEditorManager / Removed all references to single instance "var SourceNotebook" (for multi-window handling)
git-svn-id: trunk@24113 -
2010-03-20 15:12:33 +00:00
martin
5329861e5a SourceEditor: Fix changing tabs for History jumps.
git-svn-id: trunk@24104 -
2010-03-20 01:23:11 +00:00
martin
01061fd0f8 IDE, SourceEditor: Refactor BookMarks
git-svn-id: trunk@24102 -
2010-03-19 20:28:40 +00:00
mattias
e7b5a78d0f LCL: added debugging for Disable/EnableAutoSizing
git-svn-id: trunk@24094 -
2010-03-19 11:11:47 +00:00
martin
20e1062c03 Ide/Project; SourceEditor: ActiveWindowIndex / ActivePage per Window (for multi-window handling)
git-svn-id: trunk@24092 -
2010-03-18 23:06:02 +00:00
martin
8c94ff2bd4 Ide/Project; SourceEditor: More using SourceEditorManager (for multi-window handling)
git-svn-id: trunk@24091 -
2010-03-18 22:14:09 +00:00
martin
b8f4eca4e8 IDE, FindReplace: Refactored, moved away from SourceNotebook
git-svn-id: trunk@24090 -
2010-03-18 21:25:19 +00:00
martin
2b5156b908 IDE, FindInFiles: Refactored, moved away from SourceNotebook
git-svn-id: trunk@24089 -
2010-03-18 19:16:20 +00:00
martin
b7d83adbf2 SourceEditor: Fix wrong editor shown when debugger steps-in / ProcessMsg during Tab-Change (related to new SrcEditorInterface)
git-svn-id: trunk@24086 -
2010-03-18 15:20:15 +00:00
mattias
ddf90b8e51 IDE: fixed layout search result form
git-svn-id: trunk@24077 -
2010-03-18 00:23:21 +00:00
martin
32b73ebd75 SourceEditor, IDE: don't focus editor, if hint is shown. Issue #16025, #16019
git-svn-id: trunk@24071 -
2010-03-17 20:07:20 +00:00
martin
ad943cb7a3 Ide/Project; SourceEditor: Start introducing SourceEditorManager (for multi-window handling)
git-svn-id: trunk@24039 -
2010-03-16 14:11:58 +00:00
martin
32bf0d2d92 Ide/Project; SourceEditor: Decouple relationship via EditorIndex. Fix, remove reference on close
git-svn-id: trunk@24012 -
2010-03-15 14:41:12 +00:00
martin
5f1f1153e3 Ide/Project; SourceEditor: Decouple relationship via EditorIndex (equals Tab/Page). Refactor updates via object reference (prepare for multi window)
git-svn-id: trunk@23993 -
2010-03-14 19:14:59 +00:00
martin
5270532363 OldAutoSize: Fix Spelling in IFDEF
git-svn-id: trunk@23947 -
2010-03-11 17:42:58 +00:00
mattias
874b22249a LCL: made NewAutoSize default, added -dOldAutoSize
git-svn-id: trunk@23943 -
2010-03-11 15:49:01 +00:00
mattias
51e74f6092 IDE: disable autosize on close
git-svn-id: trunk@23898 -
2010-03-09 16:19:29 +00:00
martin
7d68d5d48b SourceEditor: Allow tabs at top, left, right, bottom. Issue #15905 Based on patch by Flávio Etrusco
git-svn-id: trunk@23848 -
2010-03-06 21:40:35 +00:00
mattias
2628fb7656 IDE: source editor: copy key strokes instead of rebuilding everytime
git-svn-id: trunk@23818 -
2010-03-02 00:57:59 +00:00
mattias
6c21afffca IDE: saving find options: ssoWholeWord,ssoBackwards,ssoEntireScope,ssoRegExpr,ssoRegExprMultiLine
git-svn-id: trunk@23806 -
2010-02-28 22:04:08 +00:00
mattias
1eca478fdd IDE: menu search set free bookmark, bug #15829
git-svn-id: trunk@23762 -
2010-02-22 22:46:11 +00:00
martin
40ae9c7a85 SourceEditor: Optional show Number on tabs. patch from Alexander S. Klenin / Issue #14988
git-svn-id: trunk@23649 -
2010-02-05 19:53:04 +00:00
martin
d9fc2ac6e7 SynEdit: Replacing BlockMode selection now inserts in BlockMode too
SourceEditor: Fix upper/LowerCase Selection for Blockmode, Issue #15626

git-svn-id: trunk@23645 -
2010-02-05 16:23:06 +00:00
mattias
77a6f454ed IDE: change encoding on disk: update overide list
git-svn-id: trunk@23591 -
2010-01-29 09:37:05 +00:00
mattias
742caab46a IDE: identifier completion: use word completion if not in pascal source
git-svn-id: trunk@23501 -
2010-01-20 13:26:07 +00:00
paul
b2058afe7b ide: fix memory leak
git-svn-id: trunk@23494 -
2010-01-20 04:42:43 +00:00
mattias
c7c522d9e9 IDEIntf: added RegisterCompletionPlugin
git-svn-id: trunk@23484 -
2010-01-18 17:13:59 +00:00
dmitry
989a3cf5c2 ide: reverted line-ending menu comments of the IDE.
git-svn-id: trunk@23480 -
2010-01-18 06:55:51 +00:00
paul
9622c8cd82 ide: convert forms to use fpc resources
git-svn-id: trunk@23458 -
2010-01-15 02:06:37 +00:00
dmitry
02f1dca712 ide: added system names to line-endings submenu of the source editor
git-svn-id: trunk@23425 -
2010-01-12 07:18:47 +00:00
mattias
a1f22a3dff IDE: added Line ending menu item, bug #15420
git-svn-id: trunk@23277 -
2009-12-25 13:14:58 +00:00
paul
a71515551f ide: use icon for Inspect menu items
git-svn-id: trunk@23054 -
2009-12-10 02:42:11 +00:00
marc
101acea082 debugger: added line info to assembler output dialog
git-svn-id: trunk@23043 -
2009-12-09 00:14:29 +00:00
paul
2fd2eb30f1 debugger + ide: Inspect dialogs:
- add "Inspect..." menu item to the source editor debugger group
  - fix alt+F5 key combination (was crash)
  - don't access debugger directly from Inspect dialog since it cause a crash when debugger is not active. use debugboss method instead
  - move evaluate dialog initialization to InitEvaluateDlg method

git-svn-id: trunk@22987 -
2009-12-06 06:02:12 +00:00
martin
90511a9053 SourceEditor: Clean-up, remove old method
git-svn-id: trunk@22790 -
2009-11-26 08:14:01 +00:00
martin
f7cdfc7494 SynEdit, SourceEditor: refactored Syncro-edit detection
git-svn-id: trunk@22788 -
2009-11-26 07:42:57 +00:00
martin
e1c8b64e3f SynEdit, SourceEditor: refactored Syncro-edit detection
git-svn-id: trunk@22787 -
2009-11-26 07:32:31 +00:00
martin
69f53e8c35 SynEdit: Starting Multi-View SynEdit
git-svn-id: trunk@22679 -
2009-11-19 00:14:36 +00:00
mattias
fa3198bffe IDE: reduced debugging
git-svn-id: trunk@22626 -
2009-11-16 15:02:11 +00:00
mattias
cd26ac8ff8 IDE: source editor: fixed crash when using PageIndex during fUpdateLock>0
git-svn-id: trunk@22625 -
2009-11-16 15:01:49 +00:00
martin
048c6ab702 SourceEditor, prevent possible issue after revision 22570 #d690f24e16,22571 #beee4cb71e (better keeping track of PageIndex)
git-svn-id: trunk@22620 -
2009-11-16 13:00:57 +00:00
martin
80056f3583 SourceEditor: Only show scrollbars if required (ssAutoBoth)
git-svn-id: trunk@22617 -
2009-11-16 08:45:27 +00:00
mattias
84e874d914 IDE: removed empty line
git-svn-id: trunk@22576 -
2009-11-13 20:44:13 +00:00
martin
6a9a708b28 IDE, SourceEditor: Reduce painting during startup
git-svn-id: trunk@22574 -
2009-11-13 14:59:12 +00:00
martin
beee4cb71e IDE, SourceEditor: clean-up / redirect notebook access through new accessors
git-svn-id: trunk@22571 -
2009-11-13 13:02:52 +00:00
martin
d690f24e16 IDE, SourceEditor: Fixed class abstraction, hide real notebook, moved published methods to lower visibility where possible
git-svn-id: trunk@22570 -
2009-11-13 12:33:29 +00:00
martin
ba1566e224 IDE, SourceEditor: Defer switching notebook-tab as it causes repaint on some OS (Windows), which may lead to intermittent incorrect display. Issue #15006
git-svn-id: trunk@22549 -
2009-11-12 21:02:08 +00:00
mattias
314558a8f2 IDE: source editor tabs: if no drag activate page
git-svn-id: trunk@22527 -
2009-11-11 11:08:42 +00:00
martin
be07ff95be IDE, SourceEditor: drag/drop tabs clean-up
git-svn-id: trunk@22493 -
2009-11-08 22:44:55 +00:00
martin
4f99db414c IDE, SourceEditor: Improved drag/drop tabs ( avoid missing mouse up events )
git-svn-id: trunk@22492 -
2009-11-08 21:43:35 +00:00
mattias
166ccb9e94 IDE: auto indent: using SynEdit.OnPaste event
git-svn-id: trunk@22452 -
2009-11-05 17:48:41 +00:00
mattias
14609fc341 IDE: no auto indent during template editing
git-svn-id: trunk@22435 -
2009-11-04 19:53:23 +00:00
martin
fd0f2898d5 IDE, SourceEditor: Improved drag/drop tabs
git-svn-id: trunk@22431 -
2009-11-04 17:35:24 +00:00
mattias
13712e5d89 IDE: auto indent: using caret position for ecLineBreak
git-svn-id: trunk@22428 -
2009-11-04 13:57:58 +00:00
mattias
d0158ca6ee IDE: fixed auto indent on ecLineBreak to synedit changes
git-svn-id: trunk@22426 -
2009-11-04 12:15:01 +00:00
mattias
3c0eb0f5c6 IDE: added option to enabled indent on line break and indent on paste
git-svn-id: trunk@22423 -
2009-11-04 11:32:10 +00:00
mattias
586f1a284b IDE: no auto indent on ecInsertLine
git-svn-id: trunk@22422 -
2009-11-04 11:20:48 +00:00
mattias
3c291767c0 IDE: no auto indent while syncro editing
git-svn-id: trunk@22421 -
2009-11-04 11:20:03 +00:00
mattias
2cd414bcbd IDE: enabled codetools auto indent by default
git-svn-id: trunk@22403 -
2009-11-03 13:10:56 +00:00
mattias
38a3e64177 IDE: added option to enable codetools auto indent
git-svn-id: trunk@22402 -
2009-11-03 13:00:36 +00:00
mattias
8c75e5f632 IDE: auto indent: fixed ecPaste line to codetools line mapping
git-svn-id: trunk@22401 -
2009-11-03 12:49:55 +00:00
mattias
e750aff51a codetools: auto indent: flag to ignore context
git-svn-id: trunk@22400 -
2009-11-03 12:47:19 +00:00
mattias
b35838eff9 IDE: auto indent: moved code to sourceeditor, indent on ecPaste
git-svn-id: trunk@22389 -
2009-11-03 00:16:29 +00:00
mattias
c2309f274d IDE: clean up
git-svn-id: trunk@22385 -
2009-11-02 14:51:06 +00:00
paul
fd28119606 ide: apply patch of Alexander S. Klenin which implements source editor tabs drag-drop (issue #0014963)
git-svn-id: trunk@22383 -
2009-11-02 12:40:00 +00:00
martin
65aa0e0875 SynEdit, IDE: Fixes and Refactor for SynBeautifier (includes updates for codetools auto-indent)
git-svn-id: trunk@22377 -
2009-11-02 01:36:04 +00:00
mattias
46d7c68244 synedit: TSynEditLines: added TextChangeStamp
git-svn-id: trunk@22321 -
2009-10-28 13:56:11 +00:00
mattias
5c3bf6fbea IDE: fixed TSourceNotebook.ReloadHighlighters using wrong PageIndex
git-svn-id: trunk@22172 -
2009-10-14 12:37:57 +00:00
mattias
69cb699ca6 IDE: fixed uninitialized result
git-svn-id: trunk@22109 -
2009-10-12 11:38:35 +00:00
mattias
bf25b88f22 IDE: completion box: fixed cancel execution on error
git-svn-id: trunk@22057 -
2009-10-06 12:59:11 +00:00
paul
32e67c21ce ide: update enabled state for source editor clipboard menu items
git-svn-id: trunk@22032 -
2009-10-05 02:42:48 +00:00
paul
c94627a628 ide: assign available key shortcuts to the source editor popup menu items
git-svn-id: trunk@22001 -
2009-10-03 16:47:20 +00:00
mattias
1ffd720917 IDE+codetools: ExtractOperand: added WithoutTrailingPoints
git-svn-id: trunk@21985 -
2009-10-02 18:49:58 +00:00
mattias
8442f27d8c IDE: debugger: tool tip for symbol under cursor
git-svn-id: trunk@21980 -
2009-10-02 08:48:32 +00:00
paul
a32cbde664 ide: add Evaluate/Modify item to the source editor debug menu
git-svn-id: trunk@21976 -
2009-10-02 06:53:42 +00:00
paul
9d6f86eeb2 ide: debugger:
- setup source menu debugger shortcuts
  - make Ctrl+F5 (add watch) shortcut work

git-svn-id: trunk@21972 -
2009-10-02 03:44:32 +00:00
paul
71d8ecf4de ide: minor refactoring:
- add GetOperandFromCaret, GetOperandAtCurrentCaret to the TSourceEditor class
  - use that methods for the debugger tooltip evaluation and for the debugger evaluate dialog

git-svn-id: trunk@21969 -
2009-10-02 02:26:41 +00:00
mattias
3a996a5dad IDE: identifier completion: do not show box on error in front
git-svn-id: trunk@21922 -
2009-09-29 18:36:17 +00:00
martin
d033ed3dfc SynEdit / IDE: Keep cursor at position, if codetools makes changes to toher location (like updating component names) issue #12344
git-svn-id: trunk@21829 -
2009-09-22 23:13:04 +00:00
martin
94e36f9611 IDE/SynEdit: fix search and replace in current selection only. issue #14447
git-svn-id: trunk@21466 -
2009-08-27 16:39:05 +00:00
mattias
321aab22e3 IDE: editor hint: starting timer only after mouse move, showing hints based on IDE state, bug #14382
git-svn-id: trunk@21310 -
2009-08-19 08:51:13 +00:00
mattias
00ee0b8f3b IDE: using TIdleTimer for editor hint timer, bug #14382
git-svn-id: trunk@21309 -
2009-08-19 08:45:06 +00:00
mattias
5522d6012c IDE: hint timer interval from editor options, bug #14382
git-svn-id: trunk@21308 -
2009-08-19 08:28:27 +00:00
martin
3d56d5887b SourceEditor: Improved speed, when reloading editor-options
git-svn-id: trunk@21307 -
2009-08-19 01:48:25 +00:00
mattias
e363193148 IDE: identifier completion: moved auto start option to codetools options
git-svn-id: trunk@21296 -
2009-08-18 19:59:28 +00:00
martin
2c71e957bc SynEdit/sourceEditor: fixed incremental search was loosing search term, if next char would lead to no match.
git-svn-id: trunk@21082 -
2009-08-03 01:30:26 +00:00
martin
5f6008b946 SynEdit, cleaned up inconsistent naming of SetSelWord to SelectWord
git-svn-id: trunk@21029 -
2009-07-31 17:48:02 +00:00
martin
974cdf9067 CodeTools/SourceEditor: code completion, indicate if the returned value is void
git-svn-id: trunk@21026 -
2009-07-31 15:27:47 +00:00
martin
1943a59940 SourceEditor: Fix dealing with code-completion errors
git-svn-id: trunk@21016 -
2009-07-30 22:34:02 +00:00
martin
df417f3254 SynEdit: Fix non persistent block must be undone on action, even if caret did not move. Issue #14213
git-svn-id: trunk@20981 -
2009-07-27 20:12:02 +00:00
martin
e6aaa72fe6 SynEdit: Fixed Toggle comment
git-svn-id: trunk@20977 -
2009-07-27 16:17:43 +00:00
martin
592732cea4 SynEdit: added persistent block
git-svn-id: trunk@20965 -
2009-07-26 23:06:26 +00:00
mattias
6b224cd088 IDE: find dialog: implemented speedbutton to enable/disable auto completion, bug #12334
git-svn-id: trunk@20947 -
2009-07-25 15:31:44 +00:00
martin
0a5042a856 SynEdit: Added Syncron-edit mode
git-svn-id: trunk@20917 -
2009-07-21 22:44:09 +00:00
martin
909b323d69 SynEdit, Code-Templates: improved completion on word-end/space/new-line. Caret must be at end of word, and takes newly inserted word-end into account
git-svn-id: trunk@20900 -
2009-07-19 13:37:35 +00:00
paul
67871b7f77 ide: fix breakpoint items showing in the gutter menu
git-svn-id: trunk@20852 -
2009-07-13 14:05:53 +00:00
martin
418b243b48 SynEdit: Fixed Fontheight for Completion/form/list; issue #14114
git-svn-id: trunk@20811 -
2009-07-08 14:51:10 +00:00
paul
8fa6aea6bf ide: set an image for the debugger sub menu item in the source editor popup menu
git-svn-id: trunk@20809 -
2009-07-08 01:31:39 +00:00
martin
d552487a0f SynEdit: Refactored/Centralized detection of words/wordbreaks in text
git-svn-id: trunk@20800 -
2009-07-06 13:42:13 +00:00
marc
1e0889bde7 * Placed fields end methods/properties in the correct order. Fixes compilation on fpc 2.3.1. Patch by Marco van de Voort
git-svn-id: trunk@20757 -
2009-06-27 14:41:20 +00:00
martin
d6b3aff8c9 SynEdit: Added code-template mode: Edit params in cells
git-svn-id: trunk@20732 -
2009-06-24 19:33:05 +00:00
vincents
f5c9e715f6 LCL: renamed GetSystemEncoding to GetDefaultTextEncoding, returns UTF-8 on Mac OS X (issue #12198)
git-svn-id: trunk@20727 -
2009-06-24 09:48:54 +00:00
mattias
9eb1d6a025 IDE: source editor: replaced move editor with move page
git-svn-id: trunk@20714 -
2009-06-22 15:25:12 +00:00
martin
8e4e50174a MessageWindow / SourceEditor: Fixed issue with wrong line numbers in error-messages. issue #14017
git-svn-id: trunk@20695 -
2009-06-21 18:29:26 +00:00
martin
6c6c428bf4 SynEdit: Started reworking plug-in
git-svn-id: trunk@20694 -
2009-06-21 18:16:09 +00:00
martin
87e4fec446 SynEdit, Beautifier: Refactored, added better event for external indent
git-svn-id: trunk@20672 -
2009-06-19 15:13:17 +00:00
mattias
dfe698865a IDE: started auto indent
git-svn-id: trunk@20597 -
2009-06-12 14:15:21 +00:00
mattias
243682df33 IDEIntf: changed some var to out
git-svn-id: trunk@20589 -
2009-06-12 06:49:14 +00:00
martin
2f710fb9b6 SynEdit, Beautifier: added Replace current indent
git-svn-id: trunk@20495 -
2009-06-07 12:03:16 +00:00
mattias
c30b6e429e IDE: completed UnbindEditor
git-svn-id: trunk@20492 -
2009-06-07 07:41:32 +00:00
martin
cfcc5f9b04 SynEdit, Beautifier: Renamed OnDesiredIndentNeeded / Added to SourcEditor
git-svn-id: trunk@20490 -
2009-06-06 19:10:11 +00:00
mattias
a0468e41ab LCL: TFindDialog: added option entire scope, from Brad Campbell, bug #13783
git-svn-id: trunk@20397 -
2009-06-04 08:52:15 +00:00
martin
485e5c2c90 SourceEditor: Introduced Selection-Toggle-Comments issue #13824 and redone old Set/Unset Comment. Based on a patch by Flávio Etrusco
git-svn-id: trunk@20379 -
2009-06-03 18:06:25 +00:00
martin
8bca8c909b SynEdit: Added configuration for mouse behaviour Issue #1878, Issue #8603, see http://wiki.lazarus.freepascal.org/Editor_Options_Mouse
git-svn-id: trunk@20353 -
2009-06-02 18:11:47 +00:00
paul
b7c4f73c4f ide: add "Close All Other Pages" command to the source editor menu
git-svn-id: trunk@20120 -
2009-05-22 06:42:05 +00:00
paul
2ab7776d76 ide: rearrange source editor popup menu items
git-svn-id: trunk@20119 -
2009-05-22 06:25:27 +00:00
paul
08eafcbdfa ide: source editor: don't replace notebook menu with sourcemenu if notebook can show own popupmenu (mostly for gtk, gtk2)
git-svn-id: trunk@20113 -
2009-05-22 02:50:24 +00:00
mattias
9bd290d86e IDE+codetools: implemented complete blocks in statements
git-svn-id: trunk@20108 -
2009-05-21 16:49:01 +00:00
mattias
f8012d194e IDE: fixed result of SaveSourceEditorChangesToCodeCache, codetools: started complete block
git-svn-id: trunk@20107 -
2009-05-21 13:24:15 +00:00
paul
ad30f8d3e7 ide: use same string and icon for all Options menu items
git-svn-id: trunk@20082 -
2009-05-21 01:59:12 +00:00
martin
bfa66ccae8 SourceEditor/SynEdit: avoid the temporarily display of the component name "SynEdit1" while IDE loads. Issue #13717 Patch by Sam Herzog
git-svn-id: trunk@19982 -
2009-05-16 12:42:19 +00:00
mattias
c9605ac2ce IDE: source editor: incremental find: using paste for search
git-svn-id: trunk@19824 -
2009-05-06 10:07:23 +00:00
paul
29dff51c37 ide: show goto form on mouse double click on status bar panel with coordinates
git-svn-id: trunk@19819 -
2009-05-06 07:38:42 +00:00
martin
e5db74796e Issue #13631 : On Destroy Remove SourceEditor form CodeBuffer callbacks. This would normally be done in Close, but close is not called, if cleaning up after previous crash
git-svn-id: trunk@19805 -
2009-05-04 18:42:04 +00:00
mattias
a927537fcb IDE: find overloads: find main declaration
git-svn-id: trunk@19751 -
2009-05-01 19:41:26 +00:00
mattias
b2eaa955d9 IDE: added menu item find overload
git-svn-id: trunk@19733 -
2009-05-01 13:34:06 +00:00
mattias
5f4c6b579f IDE: added more ShowAbort flags
git-svn-id: trunk@19651 -
2009-04-27 18:08:58 +00:00
vincents
772489f2f8 IDE: fixed adding search progress form to the window list, based on patch by Vladimir Zhirov (issue #13032)
git-svn-id: trunk@19571 -
2009-04-22 14:17:44 +00:00
paul
2db4548c14 ide, debugger:
- redo showing of execution lines. now there is no need to pause execution to look at execution lines
  - started inspect dialog

git-svn-id: trunk@19418 -
2009-04-13 23:10:06 +00:00
paul
ec8fd7837f ide: fix TSourceEditor.GetDialogPosition for multi-monitor
git-svn-id: trunk@19397 -
2009-04-13 04:40:52 +00:00
mattias
7fc8bfa82a IDE: implemented refactoring tool: find/remove unused units of current unit
git-svn-id: trunk@19290 -
2009-04-09 22:17:31 +00:00
mattias
26ef5cd496 IDE+codetools: started heuristic to find unused units
git-svn-id: trunk@19281 -
2009-04-08 23:45:15 +00:00
mattias
91dea6fbf8 LCL: added encoding UTF-8 with BOM, IDE: fixed changing encoding
git-svn-id: trunk@19211 -
2009-04-04 00:43:25 +00:00
paul
9154c34024 ide: start show of execution marks when we in the Pause state
git-svn-id: trunk@18998 -
2009-03-15 07:17:55 +00:00
paul
fb124b7de5 ide: add TSourceEditor.FillExecutionMarks, TSourceEditor.ClearExecutionMarks (debugger part is missing)
git-svn-id: trunk@18993 -
2009-03-14 19:19:13 +00:00
paul
7402655037 ide: replace Add breakpoint to Toggle breakpoint in some places
git-svn-id: trunk@18983 -
2009-03-13 17:47:37 +00:00
paul
879adbf7f2 ide: use better notification way about adding/removing breakpoint for the sourceeditor (source mark changes more reliable)
git-svn-id: trunk@18965 -
2009-03-12 04:18:00 +00:00
paul
09b40cf1b1 ide: fix a memory leak I made in TSourceEditor.OnGutterClick
git-svn-id: trunk@18964 -
2009-03-12 03:39:56 +00:00
paul
e6f0a3fdbe ide: fix breakpoint toggling for line where the execution line is placed
git-svn-id: trunk@18958 -
2009-03-11 15:13:31 +00:00
paul
cde7240564 ide: show mixed current line + breakpoint image when current execution line cover some breakpoint
git-svn-id: trunk@18954 -
2009-03-11 04:25:45 +00:00
paul
d0e67fd760 ide: easy sort TSourceMarks.GetMarksForLine using priority, don't handle ExecutionLine in the TSourceEditor.OnEditorSpecialLineColor in a special way - use generic SourceMark handling
git-svn-id: trunk@18949 -
2009-03-10 15:58:57 +00:00
paul
c21cb3f74f synedit, ide: add TSynMark.Priority to order marks at the same line. Make CurrentLine mark priority bigger
git-svn-id: trunk@18948 -
2009-03-10 15:19:48 +00:00
paul
5d3aba4a89 ide: fix TSourceEditor.OnEditorSpecialLineColor - skip invisible sourcemarks, set LineColorAttrib for the ExecutionMark
git-svn-id: trunk@18947 -
2009-03-10 13:28:01 +00:00
paul
bd0650e6b6 ide: show current execution line in the gutter (works bad since gutter needs to be more wide)
git-svn-id: trunk@18943 -
2009-03-10 12:04:45 +00:00
paul
66d82d4c34 ide: remove ecJumpToEditor. ecToggleSourceEditor do the job (the second part of issue #0012140)
git-svn-id: trunk@18876 -
2009-03-03 02:14:20 +00:00
jesus
008dca4acd IDE, implemented closing editor tab with mouse middle button click
git-svn-id: trunk@18832 -
2009-02-27 03:25:41 +00:00
mattias
343ae3b671 IDE: source editor: freeing synedit after processing events
git-svn-id: trunk@18561 -
2009-02-04 15:51:00 +00:00
martin
4e1e17c667 Cleanup SynEdit: Removed unnecessary uses, redeclaration's,...
git-svn-id: trunk@18519 -
2009-01-31 16:33:20 +00:00
mattias
98092f80f8 IDEIntf: OI: solved conflict between value and timer hint, clean up on hide hint
git-svn-id: trunk@18492 -
2009-01-29 09:54:03 +00:00
mattias
cadbc3f8a2 IDE: not find and replace on read only file
git-svn-id: trunk@18476 -
2009-01-28 17:47:30 +00:00
mattias
c011f84fde IDE: fixed statusbar ReadOnly
git-svn-id: trunk@18475 -
2009-01-28 17:44:05 +00:00
mattias
204d1aa9b5 LCL: not focusing THintWindow on show
git-svn-id: trunk@18474 -
2009-01-28 15:39:55 +00:00
mattias
76c9b75118 clean up
git-svn-id: trunk@18432 -
2009-01-25 10:17:33 +00:00
mattias
e49f747043 synedit: immplemented ChangeStamp, IDE: using synedit changestamp, reducing commits to codetools
git-svn-id: trunk@18431 -
2009-01-25 10:10:19 +00:00
mattias
8ad5b6f96b IDE: fixed freeing synedit
git-svn-id: trunk@18420 -
2009-01-24 18:33:18 +00:00
martin
d4af1c75ec SynEdit, Gutter: Renamed some of the new methods (Thanks Mark W. for the Feedback)
git-svn-id: trunk@18386 -
2009-01-21 22:47:33 +00:00
martin
64ffa702f8 SynEdit, Gutter: Renamed some of the new methods
git-svn-id: trunk@18383 -
2009-01-21 20:47:05 +00:00
martin
77c9b560ff SynEdit Gutter: Refactor, add ability to save GutterParts to LFM file
git-svn-id: trunk@18330 -
2009-01-18 17:43:57 +00:00
paul
d2cfcc3186 synedit, ide: fix sourcecompletion on windows after deactivate (part of bug #0012222)
git-svn-id: trunk@18208 -
2009-01-08 12:34:19 +00:00
mattias
2f13da5b12 IDE: word completion: fixed getting prefix with lines with tabs
git-svn-id: trunk@18206 -
2009-01-08 08:59:51 +00:00
martin
3daee56246 SynEdit: More consistency. Accessing the text from outside will never trim spaces (on set) or see trailing spaces (on get). Up to now sometimes it would, sometimes not. Fixing SourceEditor (Begin/EndUpdate around Assign)
git-svn-id: trunk@18198 -
2009-01-07 21:44:43 +00:00
mattias
c12eb5cec6 IDE: completion: stop ghost calls to ccComplete if no completion active
git-svn-id: trunk@18195 -
2009-01-07 18:36:50 +00:00
martin
91bc736980 SynEdit: Fixed HighCurrentWord with Incr search (typo in previous commit)
git-svn-id: trunk@18146 -
2009-01-05 22:35:29 +00:00
martin
5117148943 SynEdit: Improved highlight current word
git-svn-id: trunk@18144 -
2009-01-05 21:33:49 +00:00
martin
7b016fe8aa Fixes issues with click on gutter (would not always toggle breakpoints, bug #12905)
git-svn-id: trunk@18069 -
2009-01-02 21:06:18 +00:00
martin
d11cfa1187 SynEdit, fix Tooltip/Hint with Tab/utf8 (bug #12599, bug #7012)
git-svn-id: trunk@18028 -
2009-01-01 23:57:02 +00:00
paul
cba5df7f65 ide: adapt Completion Window, after Synedit fix rev 18016 #bb49ada1b7 (by Martin)
git-svn-id: trunk@18018 -
2009-01-01 18:45:41 +00:00
mattias
6605391f52 IDE: identifier completion: highlighting for rest, bug #12424
git-svn-id: trunk@17954 -
2008-12-26 17:04:23 +00:00
mattias
4ec7c62a72 IDE: using find declaration for source editor hyperlinks, from Martin Friebe and Alexander Klenin
git-svn-id: trunk@17816 -
2008-12-12 21:16:30 +00:00
paul
81cb25cb7e ide: don't go to center of the windows always when do a search. Do it only if we are at border (we'll never be outside borders since synedit do it positioning too) #0012423
git-svn-id: trunk@17795 -
2008-12-11 10:01:39 +00:00
paul
f294976208 lcl: add function ValidUTF8String which checks a string to have valid utf8 chars and replaces 1..32 asci chars by their codes
ide: don't replace valid utf8 string by codes when we do search and a search string is not found

git-svn-id: trunk@17794 -
2008-12-11 09:10:29 +00:00
paul
3e0bdf1378 ide: mark editor lines as saved where they are really saved to file - not to codebuffer
git-svn-id: trunk@17778 -
2008-12-10 02:06:01 +00:00
paul
1c79f69559 ide: check if sourceditor has active editor before working with it font (no more crash when you edit ide options with closed editor)
git-svn-id: trunk@17678 -
2008-12-04 08:03:09 +00:00
laurent
4b344f137a IDE: rename the images to avoid overload
git-svn-id: trunk@17660 -
2008-12-02 13:28:21 +00:00
mattias
40d1b6687c IDEIntf: removed SrcEditSubMenuSetBookmarks, added SrcEditSubMenuToggleBookmarks, IDE: replaced SetBookmarks wirh ToggleBookmarks
git-svn-id: trunk@17601 -
2008-11-26 14:52:46 +00:00
mattias
0b50f60239 synedit: added ecToggleMarker0..9
git-svn-id: trunk@17600 -
2008-11-26 14:23:10 +00:00