Commit Graph

739 Commits

Author SHA1 Message Date
paul
bdf7bf5e00 synedit: mark lines as saved in a separate method outside SetModified
git-svn-id: trunk@17777 -
2008-12-10 02:05:20 +00:00
martin
3495394a05 SynEdit: Stop trim spaces from creating endless undo loops. Related to bug #12712.
git-svn-id: trunk@17772 -
2008-12-09 21:42:21 +00:00
martin
5f91ba3d20 SynEdit Folding: Fixed Access to random memory / Bug #0012769
git-svn-id: trunk@17734 -
2008-12-09 00:46:49 +00:00
paul
d094e7acee synedit: better handle line changes
git-svn-id: trunk@17720 -
2008-12-08 06:54:59 +00:00
paul
13a160ad52 synedit: add 'Platform' keyword to the highlighter
git-svn-id: trunk@17719 -
2008-12-08 02:41:17 +00:00
martin
6c76be7c59 SynEdit Refactor: Move Selection to it's own class. (Also fixes insert into *empty* buffer, which did skip the 2nd last line / Fixes undo/paste of line-mode selection)
git-svn-id: trunk@17713 -
2008-12-07 21:06:52 +00:00
martin
21139ee206 SynEdit, Folding: unfolding certain nodes could corrupt the fold info and affect display or crash (Thanks to Brad Campbell for excellent testing/reporting)
git-svn-id: trunk@17641 -
2008-12-01 00:51:07 +00:00
paul
901310d366 synedit: fix wrong reporting about line changes. First change after save was reported as saved.
git-svn-id: trunk@17635 -
2008-11-30 12:01:20 +00:00
mattias
475ca7cb36 clean up
git-svn-id: trunk@17634 -
2008-11-30 11:33:34 +00:00
paul
c928dcd787 synedit: clip gutter line numbers text by their drawing rectangle, update some gutter default values
git-svn-id: trunk@17632 -
2008-11-30 03:56:33 +00:00
paul
0d7c9d6052 synedit: forgotten file
git-svn-id: trunk@17626 -
2008-11-28 18:30:45 +00:00
paul
8d6479f3b4 synedit: show changed lines on gutter (info is taken from the undo list), decrease auto digit count from 4 to 2 on line numbers
git-svn-id: trunk@17624 -
2008-11-28 17:52:42 +00:00
paul
047a034477 synedit: fix range check errors
git-svn-id: trunk@17619 -
2008-11-28 03:36:23 +00:00
paul
2f04ce8eba synedit: fix visibility warnings
git-svn-id: trunk@17615 -
2008-11-28 02:41:09 +00:00
martin
100ca00df1 SynEdit: fixes For folding, crash and corruption after Deleting lines (Bug #12717)
git-svn-id: trunk@17614 -
2008-11-28 01:16:43 +00:00
mattias
0b50f60239 synedit: added ecToggleMarker0..9
git-svn-id: trunk@17600 -
2008-11-26 14:23:10 +00:00
martin
94d0fe9be2 SynEdit:Fix crash in multiline pattern replace (Bug #12714)
git-svn-id: trunk@17590 -
2008-11-25 23:08:46 +00:00
paul
c248a2aa3e synedit: add bracket highlight style option
git-svn-id: trunk@17577 -
2008-11-25 08:10:55 +00:00
martin
e1184d6872 SynEdit Folding: fixed some code in Precessor
git-svn-id: trunk@17575 -
2008-11-25 00:04:58 +00:00
martin
9e75e5068c SynEdit, Folding: Could crash if deleting a full fold, right below another fold (Bug #12706)
git-svn-id: trunk@17574 -
2008-11-24 23:43:44 +00:00
martin
142f39204b SynEdit: Page was not always invalidated/redrawn below folds (Bug #12701)
git-svn-id: trunk@17573 -
2008-11-24 20:17:40 +00:00
paul
4c8f0cddf1 synedit: don't merge tokes with same FrameColor if it <> clNone (= no Frame)
git-svn-id: trunk@17570 -
2008-11-24 15:53:35 +00:00
paul
f69fe79d0e synedit: don't statically use pen with FrameColor for TextDrawer, just create, select and delete it on demand. In other case it affects gutter and margin which uses pens too.
git-svn-id: trunk@17562 -
2008-11-24 03:41:07 +00:00
paul
62995bc2be synedit: don't join tokens if FrameColor is differ
git-svn-id: trunk@17561 -
2008-11-24 03:27:29 +00:00
paul
40afae6847 synedit: set FrameColor in gutter code
git-svn-id: trunk@17557 -
2008-11-24 02:40:40 +00:00
paul
469bafd646 synedit: add support for FrameColor in Markups, TextDrawer, etc
git-svn-id: trunk@17549 -
2008-11-23 16:33:41 +00:00
martin
a3e24a5bec SynEdit: Cursor would disappear while application was running (Running via F9, needs SynEdit.KeyPressed/CommandProcessor to be re-entrant; so they must be executed before SynEdit locks everything down)
git-svn-id: trunk@17548 -
2008-11-23 15:19:38 +00:00
martin
89df2435c2 SynEdit Gutter: Line Numbers where truncated/missing, if code-folding was off.
git-svn-id: trunk@17547 -
2008-11-23 13:53:17 +00:00
paul
da4866927b synedit: optimize line highlight
git-svn-id: trunk@17546 -
2008-11-23 13:19:56 +00:00
paul
285687c543 synedit: dont highlight a line when highlight has not colors set
git-svn-id: trunk@17545 -
2008-11-23 13:06:01 +00:00
martin
f5681d643f SynEdit: Gutter clean-up
git-svn-id: trunk@17542 -
2008-11-23 12:02:29 +00:00
martin
7116862ffb SynEdit: Folded Scrolling, did still (again) hang/stop when folds reached topline => IF"N"DEF instead of IFDEF (bug #12694)
git-svn-id: trunk@17540 -
2008-11-23 11:18:19 +00:00
paul
70010dafbb synedit: cleanup hint
git-svn-id: trunk@17539 -
2008-11-23 10:27:10 +00:00
martin
62a3b51538 SynEdit: refactor the Gutter code, moved drawing code into separate classes
git-svn-id: trunk@17533 -
2008-11-23 01:28:48 +00:00
martin
c34259d476 SynEdit: refactor the Gutter code, moved drawing code into separate classes
git-svn-id: trunk@17532 -
2008-11-23 01:02:44 +00:00
paul
6c27b28a2d synedit: add a special color for current line highlighting, reorder markups to make more priority of brackets highlight
git-svn-id: trunk@17523 -
2008-11-22 17:44:11 +00:00
paul
77626ad67a synedit: format code a bit before actual changes
git-svn-id: trunk@17520 -
2008-11-22 16:05:59 +00:00
martin
ff1eb35eb3 SynEdit: Clean-up
git-svn-id: trunk@17515 -
2008-11-22 14:56:15 +00:00
martin
ff7e434cf4 SynEdit: Avoid crash with corrupt font-data. (Bug #12563). This is a fix for the crash, rendering of a none-renderable font is a welcome side-effect.
git-svn-id: trunk@17513 -
2008-11-22 13:41:02 +00:00
martin
7dfb9415a6 SynEdit: Redo would misplace the cursor if a block was deleted. Bug #12686
git-svn-id: trunk@17512 -
2008-11-22 13:18:32 +00:00
martin
dde340bbfa SynEdit, Folding: More fixes against unwanted expansion of folds, due to edit the line above (undo/redo) Bug #12664
git-svn-id: trunk@17501 -
2008-11-21 23:10:53 +00:00
martin
e16640015b SynEdit, fix unfolding block at EOF while AlwaysVisibleCaret (Bug #12679 / regression since rev 17480 #c9449c08e6)
git-svn-id: trunk@17482 -
2008-11-20 23:34:01 +00:00
martin
c9449c08e6 SynEdit: Folding, some lines would unfold unexpectedly (If Line before fold was removed / or if fold at last line.) Bug #12664
git-svn-id: trunk@17480 -
2008-11-20 22:04:48 +00:00
paul
6c2ac82789 synedit: add special colors to draw line numbers on gutter to emulate delphi look (if needed)
git-svn-id: trunk@17464 -
2008-11-20 07:47:18 +00:00
paul
4a42c817e5 synedit: show '-' instead of '.' on every 5-th line
git-svn-id: trunk@17463 -
2008-11-20 04:00:18 +00:00
paul
a6dd44f926 synedit: formatting
git-svn-id: trunk@17461 -
2008-11-20 03:34:33 +00:00
martin
34347f789c SynEdit: Fixing many issues with trailing spaces. Includes bug #12383 "Smart tab un-indent", 12487 "ctrl-t at end of trailing spaces", "special char display of trailing spaces", vertical scrollbar for (many) trailing spaces.
git-svn-id: trunk@17416 -
2008-11-18 00:12:19 +00:00
martin
57a9745795 SynEdit: Prepare patch for bug #12383, #12487: Problems with trim trailing spaces
git-svn-id: trunk@17413 -
2008-11-17 22:25:29 +00:00
martin
ca74c2d72b Synedit: Refactor, move Caret to it's own class. (Just the first step) (added uses clause)
git-svn-id: trunk@17412 -
2008-11-17 22:23:36 +00:00
martin
7d42cea472 Synedit: Refactor, move Caret to it's own class. (Just the first step)
git-svn-id: trunk@17411 -
2008-11-17 22:13:29 +00:00