Commit Graph

177 Commits

Author SHA1 Message Date
mattias
f69dd2379e IDE: clean up
git-svn-id: trunk@48198 -
2015-03-10 12:02:19 +00:00
martin
699277a76d SYnEdit: multi caret, paint - fixed wrong coordinates / added some properties
git-svn-id: trunk@48196 -
2015-03-10 11:50:39 +00:00
martin
c740a16492 SynEdit / IDE: add full line selection on line-gutter click
git-svn-id: trunk@48158 -
2015-03-07 02:21:55 +00:00
martin
b87c34ebfb SynEdit/IDE: Basic Multi-Caret mode
git-svn-id: trunk@48123 -
2015-03-03 23:51:11 +00:00
mattias
ae47574294 synedit: less hints
git-svn-id: trunk@47727 -
2015-02-13 07:49:22 +00:00
martin
7a259b572a SynEdit: internal caret / qt
git-svn-id: trunk@47719 -
2015-02-12 14:44:39 +00:00
martin
0b2380c498 SynEdit: internal caret / carbon
git-svn-id: trunk@47718 -
2015-02-12 12:33:38 +00:00
martin
4f3dd33568 SynEdit: rewrite internal caret
git-svn-id: trunk@47714 -
2015-02-12 03:49:23 +00:00
martin
b6efaa244f SynEdit: Multi caret beta
git-svn-id: trunk@47596 -
2015-02-06 02:07:31 +00:00
martin
205a10bfc3 SynEdit: Prepare alternative caret
git-svn-id: trunk@47575 -
2015-01-31 19:21:13 +00:00
martin
b58ff06478 SynEdit: more control over selection, when edit text from app
git-svn-id: trunk@47132 -
2014-12-07 23:54:10 +00:00
martin
388e10fdb2 SynEdit: Allow custom caret sizes. Issue #0026257
git-svn-id: trunk@46833 -
2014-11-13 14:31:41 +00:00
martin
1fba2652a7 SynEdit: avoid duplicate call
git-svn-id: trunk@43767 -
2014-01-19 03:02:30 +00:00
martin
d57a4a302e SynEdit: speed up large operations (search replace)
git-svn-id: trunk@43763 -
2014-01-18 19:01:23 +00:00
martin
a586b848df SynEdit: speed up large operations (search replace)
git-svn-id: trunk@43762 -
2014-01-18 18:48:17 +00:00
martin
8ddc0aa3d1 SynEdit: Fixed uninitialized value in block-selection
git-svn-id: trunk@43165 -
2013-10-07 18:45:48 +00:00
martin
e8e421dc50 SynEdit: select word-wise, issue #0024523
git-svn-id: trunk@42376 -
2013-08-10 07:27:44 +00:00
martin
63634bb913 SynEdit: fixed trim-space (mode "position only") would corrupt text on certain undo. Issue #24101
git-svn-id: trunk@40680 -
2013-04-01 11:58:34 +00:00
martin
fde480b560 SynEdit: Small optimization in editing selection code
git-svn-id: trunk@40679 -
2013-04-01 11:51:23 +00:00
martin
0493e2f195 SynEdit: Fixed a rare issue with wrongly placed caret after overwriting the selection.
git-svn-id: trunk@40678 -
2013-04-01 11:47:15 +00:00
martin
eb0b68a7a3 SynEdit: clean up
git-svn-id: trunk@39849 -
2013-01-14 13:23:13 +00:00
mattias
1623e7d909 synedit: clean up
git-svn-id: trunk@39848 -
2013-01-14 12:31:34 +00:00
martin
1c99638ea5 SynEdit: various minor speed improvements (replace selection)
git-svn-id: trunk@39835 -
2013-01-12 10:47:23 +00:00
martin
0d31a09f02 SynEdit: Rewrite of Caret-class, introduction of simplified base class for faster block(selection) replace operation. Related to secondary report of issue #0023556
git-svn-id: trunk@39806 -
2013-01-08 17:33:10 +00:00
martin
1f2700f715 SynEdit: Caret, minor optimization. Do not register callbacks, unless needed.
git-svn-id: trunk@39695 -
2012-12-30 12:50:37 +00:00
martin
cdadce87e0 SynEdit: Caret, reduce calculation overhead
git-svn-id: trunk@39694 -
2012-12-30 05:35:20 +00:00
martin
c073cb340f SynEdit: Fixes for displaying ligatures (experimental, window only)
git-svn-id: trunk@39534 -
2012-12-14 05:46:43 +00:00
martin
4828ed9f53 SynEdit: ecChar fix typing none latin at EOL / and file missing from enable BiDi
git-svn-id: trunk@39110 -
2012-10-17 11:12:51 +00:00
martin
8afb351bd1 SynEdit: Make BIDI default / ecDeleteChar fix half tab del
git-svn-id: trunk@39104 -
2012-10-16 14:17:53 +00:00
martin
d5617322c3 SynEdit: ecLeft/Right for future bidi support
git-svn-id: trunk@39102 -
2012-10-16 13:45:54 +00:00
martin
5b271f60f6 SynEdit: clean up (utf8)
git-svn-id: trunk@39084 -
2012-10-14 19:49:19 +00:00
martin
d879b778b0 SynEdit: ecChar for future bidi support
git-svn-id: trunk@39053 -
2012-10-11 23:23:26 +00:00
martin
5405c6ad0e SynEdit: Some helpers for future bidi support (IFDEF)
git-svn-id: trunk@38721 -
2012-09-17 20:05:13 +00:00
martin
e0b9cef954 SynEdit: Clean up lots of IFDEF. Patch by zaher dirkey. Issue #0022186
git-svn-id: trunk@37782 -
2012-06-25 22:49:31 +00:00
martin
473be6458b SynEdit: Implemented "sticky" selection mode
git-svn-id: trunk@37781 -
2012-06-25 22:13:36 +00:00
martin
29485dc359 SynEdit: fixed/improved error handling for caret. Might fix some caret-not-shown issues (observed with carbon)
git-svn-id: trunk@37688 -
2012-06-18 22:38:52 +00:00
martin
d17e688df7 SynEdit: Fixed Caret when scrolling under older Wine (Win Emulator) 0021929
git-svn-id: trunk@37166 -
2012-05-05 18:10:28 +00:00
mattias
080f4f8c22 LCL: fixed sending CM_EXIT,CM_ENTER when flastfocusedcontrol was removed
git-svn-id: trunk@36884 -
2012-04-17 17:15:34 +00:00
martin
1fc2e095ea SynEdit clean up
git-svn-id: trunk@34941 -
2012-01-25 23:26:45 +00:00
martin
83ccf70cb2 SynEdit: improve screen caret lock
git-svn-id: trunk@34668 -
2012-01-08 17:51:16 +00:00
martin
f68d0c1659 SynEdit: Selection, prevent OnChange, if nothing changed / clean up
git-svn-id: trunk@34620 -
2012-01-06 13:47:03 +00:00
martin
b086a0d71f SynEdit: ensure primary selection is acquired
git-svn-id: trunk@34595 -
2012-01-05 12:50:01 +00:00
martin
27d9078f1f SynEdit: Allow replacing text and keep y-pos of marks
git-svn-id: trunk@34534 -
2012-01-01 19:31:49 +00:00
martin
400f05dee0 SynEdit: refactor painting
git-svn-id: trunk@34165 -
2011-12-14 02:53:19 +00:00
martin
3403a53c21 SynEdit / IDE: zoom with ctrl wheel
git-svn-id: trunk@33986 -
2011-12-05 23:32:21 +00:00
martin
328267f217 SynEdit: fixed some cases where none moving cursor key (e.g. end-key at line end) would not unset the selection. Happened if caret was not moved to set selection (copy word on copy none)
git-svn-id: trunk@33310 -
2011-11-04 19:58:17 +00:00
martin
ab90477674 SynEdit: Check if suficent space for caret exists at line-end. fixes issue #0020053
git-svn-id: trunk@32058 -
2011-08-25 23:46:14 +00:00
martin
e4fc107b50 SynEdit: Clean up ScreenCaret.ClipRect calculation; Fix ClipRect by 1 pixel to small. Partly fixes issue #0020053
git-svn-id: trunk@32056 -
2011-08-25 22:58:14 +00:00
martin
3968c44b39 SynEdit: allow caret to end of longest line (instead of MaxLeftChar), if eoScrollPastEOL is set
git-svn-id: trunk@32039 -
2011-08-24 10:10:01 +00:00
mattias
4eb05d0a4e qt intf: fixed showing caret when FWidget got context, bug #16905
git-svn-id: trunk@30747 -
2011-05-15 12:27:49 +00:00
mattias
937fe55e63 qt intf: undo 20743
git-svn-id: trunk@30745 -
2011-05-15 12:16:33 +00:00
martin
6b7a173ac3 SynEdit: fixed caret-auto-move for lines with tab. (required by syncro-edit, shared-edit)
git-svn-id: trunk@30087 -
2011-03-30 16:24:10 +00:00
martin
86a71bfe1e SynEdit: Cache char-width info (Logical<>Physical) / Cleanup
git-svn-id: trunk@30074 -
2011-03-29 23:44:25 +00:00
martin
254183e65e SynEdit: Caret, removed QT workarounds
git-svn-id: trunk@27201 -
2010-08-26 19:33:23 +00:00
martin
987280bfe5 SynEdit: Caret, ensure handle is not outdated
git-svn-id: trunk@27200 -
2010-08-26 19:25:23 +00:00
martin
bdcfa05b81 SynEdit: Correctly set CaretRespondToFocus for gtk / workaround for QT
git-svn-id: trunk@27168 -
2010-08-22 22:54:14 +00:00
martin
4e8ea2da7f SynEdit: Caret, update Visibility on focus changes
git-svn-id: trunk@27156 -
2010-08-20 13:13:54 +00:00
martin
abb03cadf9 SynEdit: Special handling for Caret under QT, workaround for bug #17210
git-svn-id: trunk@27153 -
2010-08-20 00:50:17 +00:00
martin
65f6433075 SynEdit: debug for caret
git-svn-id: trunk@27152 -
2010-08-19 23:52:34 +00:00
martin
5afc05a556 SynEdit: small fix/optimization to caret (avoid extra SetPos calls)
git-svn-id: trunk@27151 -
2010-08-19 23:48:09 +00:00
martin
66ad9fe3d0 SynEdit: debug for caret
git-svn-id: trunk@27150 -
2010-08-19 23:13:00 +00:00
martin
97148efb0f SynEdit: Fix caret sometimes stopped at x=1024
git-svn-id: trunk@27100 -
2010-08-14 21:27:31 +00:00
martin
9c570545dd SynEdit: Fixes for caret. Recreate persistent caret / stop using RespondToFocus (QT issue)
git-svn-id: trunk@27097 -
2010-08-14 19:42:59 +00:00
martin
abc928b804 SynEdit: CaretRespondsToFocus
git-svn-id: trunk@27096 -
2010-08-14 19:09:25 +00:00
martin
ac930ac5a0 SynEdit: Clean up
git-svn-id: trunk@27038 -
2010-08-08 15:58:07 +00:00
martin
bb4d53ff94 SynEdit: Started rework of Gutter, started adding new overview gutter
git-svn-id: trunk@27027 -
2010-08-08 00:35:06 +00:00
martin
a305372d19 SynEdit: Refactor, LengthOfLongestLine
git-svn-id: trunk@25787 -
2010-05-31 00:03:31 +00:00
martin
8616df2434 SynEdit: Change Lines.BeginUpdate to do full paintlock; fix repeated highlifghter scans for Lines.LoadFromFile; issue #13268
git-svn-id: trunk@25320 -
2010-05-12 00:28:57 +00:00
martin
9b27609bab SynEdit: Improved Syncro-Edit (see note on issue #14813)
git-svn-id: trunk@25247 -
2010-05-08 14:30:26 +00:00
martin
975ef069b2 SynEdit: Adjust Selection in other view editor
git-svn-id: trunk@24519 -
2010-04-08 16:45:47 +00:00
martin
c78ba4235d SynEdit: Adjust TopLine and Caret in other view editor
git-svn-id: trunk@24517 -
2010-04-08 16:27:19 +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
martin
69f53e8c35 SynEdit: Starting Multi-View SynEdit
git-svn-id: trunk@22679 -
2009-11-19 00:14:36 +00:00
martin
7404b6ed0b SynEdit: refactor, moved some undo/redo code to the lines object
git-svn-id: trunk@22672 -
2009-11-18 16:53:20 +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
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
194d83f7a8 SynEdit: implemented Caret skips tabs
git-svn-id: trunk@21587 -
2009-09-05 13:30:13 +00:00
martin
68d8d80a23 SynEdit: Fixed some utf8 issues in smColumn mode blocks
git-svn-id: trunk@21065 -
2009-08-01 23:11:33 +00:00
martin
41133ceb24 SynEdit: Fixed a problem when replacing a smColumn mode block. New text would go in wrong location
git-svn-id: trunk@21064 -
2009-08-01 21:35:17 +00:00
martin
ce18ca1f8d SynEdit: fixed an issue with deleting if past-Eol, padding was sometimes omitted (fixed bug introduced in 21060)
git-svn-id: trunk@21061 -
2009-08-01 18:12:10 +00:00
martin
c008588230 SynEdit: fixed an issue with deleting if past-Eol, padding was sometimes omitted
git-svn-id: trunk@21060 -
2009-08-01 18:01:17 +00:00
martin
430990d9f1 SynEdit: Fixed smNormal Block-Selectional for Past-EOL. If only one line was selected the Area past EOL was ignored
git-svn-id: trunk@21038 -
2009-07-31 21:35:53 +00:00
martin
11cefe2883 SynEdit: fixed utf-8/tab issue for column mode selections
git-svn-id: trunk@21035 -
2009-07-31 20:58:14 +00:00
martin
505244a52c SynEdit: Fixed eoNoSelection
git-svn-id: trunk@21018 -
2009-07-31 12:19:24 +00:00
martin
22f11e3eaa Synedit: Some more fixes for none persistent Blocks
git-svn-id: trunk@21015 -
2009-07-30 13:57:26 +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
27a85b3e3b SynEdit, fixed clearing non persistent block, if caret moves to other end of block
git-svn-id: trunk@20979 -
2009-07-27 16:42:25 +00:00
martin
e480675e27 SynEdit: persistent block: QH, QB work if block is hidden / notify is called if block gets hidden
git-svn-id: trunk@20974 -
2009-07-27 12:24:04 +00:00
martin
592732cea4 SynEdit: added persistent block
git-svn-id: trunk@20965 -
2009-07-26 23:06:26 +00:00
martin
cb577dee7e SynEdit: Refactored Block-Selection / Fix paste text beyond end of line. issue #14199
git-svn-id: trunk@20964 -
2009-07-26 12:49:53 +00:00
martin
342c6a6374 SynEdit: Refactored Block-Selection
git-svn-id: trunk@20959 -
2009-07-25 23:54:16 +00:00
martin
7c02052279 SynEdit: Refactored Block-Selection / Block-(Un)Indent
git-svn-id: trunk@20954 -
2009-07-25 17:48:16 +00:00
martin
f865263b5a SynEdit: fix caret after certain block.SetText operations. Issue #14195
git-svn-id: trunk@20953 -
2009-07-25 16:54:51 +00:00
martin
f32f484ae9 SynEdit: Refactored SynSelection
git-svn-id: trunk@20942 -
2009-07-25 01:02:55 +00:00
martin
8e986531c0 SynEdit: Refactored SynSelection
git-svn-id: trunk@20941 -
2009-07-24 23:37:24 +00:00
martin
48efa0db01 SynEdit: Cleaned up, some old properties from SynSelection
git-svn-id: trunk@20940 -
2009-07-24 23:00:47 +00:00
martin
09a9fc6662 SynEdit: Fixed regression from rev 20806 #7cb446bf36, the behaviour of ScrollPastEndOfLINE was partly inverse. Bug #14117
git-svn-id: trunk@20813 -
2009-07-08 23:46:06 +00:00
martin
7cb446bf36 SynEdit: Fix problem with lines longer 1024. Block selection, and scrolling caret movement could fail in certain cases. issue #14111
git-svn-id: trunk@20806 -
2009-07-07 12:25:52 +00:00
martin
d947159118 SynEdit: Fixed replacing selection in mode smLine. (new text was inserted at wrong pos)
git-svn-id: trunk@20693 -
2009-06-21 14:21:43 +00:00
martin
faba3df333 SynEdit: Fixed paste after auto indent (broke in revision 20682 #db631b7877)
git-svn-id: trunk@20685 -
2009-06-21 02:05:49 +00:00