Commit Graph

354 Commits

Author SHA1 Message Date
martin
4c1df45cac Added SynEdit.FoldAll (bug #12561, modified/ext patch from Brad Campbell)
Added Methods to find Collapsed/Expanded Line for block around cursor

git-svn-id: trunk@17279 -
2008-11-08 15:53:33 +00:00
martin
9ba43b14b7 Fix regression and enhance of Del-to-end-of-word (ctrl-t). Handles spaces and punctuation before/after the word as separate entities. Trims spaces on full word del. BUG #12583
git-svn-id: trunk@17275 -
2008-11-08 12:03:23 +00:00
martin
9e060e48c6 Fix ExtraCharSpacing (Bug #11824) Extra Space was accumulated across blocks of text.
git-svn-id: trunk@17254 -
2008-11-06 20:09:24 +00:00
mattias
b5a8b6cbc4 IDE: no auto completion in comment at end of line
git-svn-id: trunk@17247 -
2008-11-06 12:54:50 +00:00
martin
728dea85ce SynEdit: Refactored CodeFolding. All Scrolling does now relate to visible lines. (Mousewheel / Scrollbars). Bug #7554 / 11208
Also Fixes issues with translation between real and visible lines. Bug #11941

git-svn-id: trunk@17225 -
2008-11-04 22:17:52 +00:00
martin
b96120e09e SynEdit: Delete to end of word (ctrl-t) did not work in comments, or strings. Bug #12486 / 10738
git-svn-id: trunk@17224 -
2008-11-04 21:23:32 +00:00
martin
5ffabda417 Fix Undo/Redo for indent block via tab key. Also fix cursor position. bug #0012469
git-svn-id: trunk@17207 -
2008-11-03 23:24:34 +00:00
tombo
d4de936c86 IDE EditorOptions: added option to disable code editor anti-aliasing
SynEdit: fix TFont.Quality handling

git-svn-id: trunk@16921 -
2008-10-07 16:54:08 +00:00
mattias
4b73fa2e5f synedit: fixed crash on ecLineBreak when Lines empty
git-svn-id: trunk@16875 -
2008-10-04 20:01:43 +00:00
mattias
c463795a79 changed synedit carbon font name to Monaco
git-svn-id: trunk@16564 -
2008-09-12 06:40:24 +00:00
mattias
859ec0bba3 synedit: carbon: ctrl mouse links now use Cmd under carbon
git-svn-id: trunk@16488 -
2008-09-08 13:24:56 +00:00
mattias
989ea6d7c0 synedit: fixed linebreak smart indent on lines with tabs, bug #12086
git-svn-id: trunk@16458 -
2008-09-06 21:07:15 +00:00
mattias
6468b5ab75 synedit: set default font size under carbon to 12
git-svn-id: trunk@16438 -
2008-09-05 15:57:58 +00:00
mattias
8f4f099071 synedit: workaround for bug #11926
git-svn-id: trunk@16200 -
2008-08-24 08:08:48 +00:00
mattias
acbbad4015 synedit: workaround for bug #10451
git-svn-id: trunk@16199 -
2008-08-24 08:07:31 +00:00
mattias
1f21f5efc1 IDE: fixed checklfm dlg
git-svn-id: trunk@16032 -
2008-08-12 12:26:57 +00:00
mattias
5ebb7d717d synedit: moved fold code to TSynEditStringList, fixed folding after enter, bug #7773
git-svn-id: trunk@15990 -
2008-08-08 04:57:39 +00:00
mattias
e9b5c82525 gtk2: improved caret by painting only during paint event
git-svn-id: trunk@15960 -
2008-08-05 15:10:14 +00:00
mattias
e4a2bd9d92 synedit+IDE: implemented showing only every n-th line number, patch #11625 from Gerard Visent
git-svn-id: trunk@15956 -
2008-08-05 11:56:39 +00:00
mattias
d4388d288c cleanup
git-svn-id: trunk@15922 -
2008-07-31 07:51:15 +00:00
mattias
3a6af55cd9 synedit: fixed code folding color when right margin is off
git-svn-id: trunk@15901 -
2008-07-28 09:47:41 +00:00
mattias
7c32a96cb1 IDE: updated new editor options, from Martin Friebe, bug #11755
git-svn-id: trunk@15884 -
2008-07-27 07:46:21 +00:00
mattias
90cb8f39ac syendit: fixed SetScrollBars calling RecreateWnd
git-svn-id: trunk@15877 -
2008-07-26 16:59:54 +00:00
mattias
c7b7a0b503 synedit: not adding spaces if eoScrollPastEOL on line break, bug #11745
git-svn-id: trunk@15875 -
2008-07-26 16:13:56 +00:00
mattias
cbc57806d7 synedit: pascal highlighter: implemented mode Delphi/ObjFPC and nested comments
git-svn-id: trunk@15874 -
2008-07-26 15:11:57 +00:00
mattias
5f699ac8b2 gtk2: implemented TCanvas.ClipRect during paint, improved hiding/drawing caret with double buffer
git-svn-id: trunk@15865 -
2008-07-25 14:42:09 +00:00
mattias
2e9d466c2d synedit: markup for special line, selection and ctrl mouse link, from Martin Friebe, bug #11693
git-svn-id: trunk@15861 -
2008-07-24 22:41:25 +00:00
mattias
a15799bceb synedit: fixed bracket highlighting on backward search, from Martin Friebe, bug #11736
git-svn-id: trunk@15858 -
2008-07-24 16:15:49 +00:00
vincents
2b22554556 synedit: fixed flicker in incremental search from Martin (issue #11474)
git-svn-id: trunk@15848 -
2008-07-23 12:43:44 +00:00
mattias
6ed274ffa2 synedit: search now uses IdentChars of highlighter, bug #10752
git-svn-id: trunk@15847 -
2008-07-23 12:31:31 +00:00
vincents
e596ab63b2 synedit: fixed mulitline matching bracket from Martin Friebe (issue #11732)
git-svn-id: trunk@15845 -
2008-07-23 11:55:44 +00:00
mattias
c0bb107bd7 synedit: improved bracket highlighting to skip comments and strings, from Martin Friebe, bug #9652
git-svn-id: trunk@15841 -
2008-07-23 08:09:09 +00:00
mattias
9dd08d1adb synedit: added overloaded searchreplace method to provide a startingpoint, from Martin Friebe, bug #11474
git-svn-id: trunk@15825 -
2008-07-21 08:46:32 +00:00
mattias
1341499890 synedit: set default synedit font for carbon
IDE: sourceditor: using the same default font as synedit
  IDE: added code template d for debugln
  IDE: moved Insert $IFDEF in keymapping to edit section
  CodeTools: identifier completion: do not add semicolon in front of then, of, to, else, do
  CodeTools: define LCL and LCLwidgetset for lazarus sources
  IDE: Editor Options Keymapping: implemented text filter and shortcut search

git-svn-id: trunk@15819 -
2008-07-19 09:51:32 +00:00
mattias
b38ec6cfc3 synedit: added fpFixed to default font
git-svn-id: trunk@15794 -
2008-07-16 21:01:02 +00:00
vincents
3285b40fa7 synedit: fixed ctrl-mouseclick from Martin Friebe (issue #11661)
git-svn-id: trunk@15788 -
2008-07-15 19:15:51 +00:00
mattias
a20b096442 synedit: improved using clipping rect during paint from Martin, bug #11654
git-svn-id: trunk@15786 -
2008-07-15 19:06:55 +00:00
mattias
cb41bdea0d from Martin Friebe:
- inserting a line, would not correctly re-paint the other lines, if a folded block was in the visible window, above the 
newly inserted line
- using ctr-cursur-up to scroll, would make the cursor jump away from the lower end of the window, if a folded block existed
- bracket search did not use ScreenRowToRow for "VisibleOnly" (which appears un-used, so this part of the bug is currently 
not triggered)

git-svn-id: trunk@15776 -
2008-07-14 07:27:58 +00:00
mattias
5972f2bf98 synedit: renamed OnCtrlLeftMouseUp to OnClickLink, fixed Ctrl+MouseLeft jump
git-svn-id: trunk@15769 -
2008-07-13 20:16:15 +00:00
mattias
4fdf213191 synedit: fixed moving selection by mouse dragging, from Martin Friebe
git-svn-id: trunk@15760 -
2008-07-13 10:37:18 +00:00
vincents
8a3217a900 synedit: don't initialize KeyStrokes collection, when loading it from .lrs or .lfm (fixes bug #7305), thanks to Martin Schreiber for the hint
git-svn-id: trunk@15730 -
2008-07-10 07:19:08 +00:00
mattias
6e13c5dbe9 synedit: codefolding fixes: ctrl-mouse underlining, cursor left/right skip blocks from Martin Friebe
git-svn-id: trunk@15718 -
2008-07-09 11:38:05 +00:00
vincents
fc07f2877b synedit: fixed detecting invalid UTF8 chars as special chars from Martin Friebe (bug #11628)
git-svn-id: trunk@15710 -
2008-07-08 18:20:44 +00:00
mattias
93694fa80f synedit: improved crDelete to allow undo/redo bug #11596
git-svn-id: trunk@15708 -
2008-07-08 17:52:34 +00:00
mattias
e8071d14a8 synedit: implemented markup system from Martin Friebe
git-svn-id: trunk@15689 -
2008-07-07 07:41:40 +00:00
mattias
94a0e34fb6 IDE, synedit: implemented ExtraCharSpacing
git-svn-id: trunk@15559 -
2008-06-24 08:43:22 +00:00
mattias
e2cf50c737 synedit: fixed painting a line too much, bug #11481
git-svn-id: trunk@15542 -
2008-06-23 14:32:21 +00:00
mattias
5980e1a71e synedit: fixed moving cursor behind folded lines, bug #10591
git-svn-id: trunk@15541 -
2008-06-23 14:15:41 +00:00
mattias
15c5e3efa6 synedit: fixed showing caret on last line if clientheight is exactly height of line
git-svn-id: trunk@15484 -
2008-06-20 14:26:02 +00:00
paul
5addcc9efd ide: finally fix Always visible caret (#0011502) by Martin Friebe
git-svn-id: trunk@15473 -
2008-06-20 08:18:03 +00:00