Commit Graph

739 Commits

Author SHA1 Message Date
martin
0a4ca8c8bf SynEdit: Backspace would not work with real Tabs at the end of line (last 2 char positions of line)
git-svn-id: trunk@17409 -
2008-11-17 00:28:47 +00:00
martin
a024e783ba SynEdit: Appending to End of line (while TrimTrailingSpaces is off) would add an extra space
git-svn-id: trunk@17402 -
2008-11-16 01:26:56 +00:00
martin
bd34666528 SynEdit: clean up (impossible IFDEF)
git-svn-id: trunk@17401 -
2008-11-15 20:19:39 +00:00
vincents
0e7efda9d0 synedit: fixed typo, hint from Martin Friebe
git-svn-id: trunk@17377 -
2008-11-13 18:51:48 +00:00
vincents
34b6f45af2 synedit: fised implementation of GetStyleIndex, hint from Martin Friebe (issue #12620)
git-svn-id: trunk@17376 -
2008-11-13 18:41:53 +00:00
mattias
aa6e9e64dd synedit: fixed ignoring first key of a 2-key-combo, IDE: source editor: handling setmarker0..9
git-svn-id: trunk@17369 -
2008-11-13 13:00:09 +00:00
martin
e5e3ed2742 Some SynHighlighter were breaking UTF8 (Bug #12517) original Patch by Eugen Bolz, slightly improved
git-svn-id: trunk@17358 -
2008-11-12 23:43:25 +00:00
jesus
085856ae9b updated traslations using localize script
git-svn-id: trunk@17326 -
2008-11-11 01:30:57 +00:00
tombo
838dd9d2c9 synedit: applied patch #0012606: Carbon : Editor font rendering badly damaged for default font, point size 14 on PowerPC rev 17304 #80581bd7cb from Brad Campbell
git-svn-id: trunk@17319 -
2008-11-10 15:25:21 +00:00
vincents
1614e73034 synedit + IDE: added KeyShortCuts for Folding in SynEdit from Martin Friebe (issue #12593)
git-svn-id: trunk@17299 -
2008-11-09 19:25:29 +00:00
martin
f07d918ee6 SynEdit did not paint new lines, if highlighter was "none" or "text" (Bug #12601)
git-svn-id: trunk@17298 -
2008-11-09 18:26:05 +00:00
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
martin
e9d128ca48 Workaround for bug #12576; failed to compile for powerpc, if inlining is enabled. Patch by Brad Campbell
git-svn-id: trunk@17253 -
2008-11-06 19:42:01 +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
vincents
ad4ab60d09 synedit: fixed issue #12555
* removed lazarus specific code to linearize the possible values of a set, not necessary anymore since the internal format of set has changed on big endian cpu, see http://wiki.lazarus.freepascal.org/index.php?title=User_Changes_2.2.2&oldid=31423#Internal_format_of_sets

git-svn-id: trunk@17199 -
2008-11-03 15:14:09 +00:00
mattias
49426fc4e4 fixed compilation 2.3
git-svn-id: trunk@16934 -
2008-10-08 20:45:48 +00:00
mattias
34cab91d4a synedit: added TSysPasSysn.IsKeword for some common keywords
git-svn-id: trunk@16933 -
2008-10-08 16:48:09 +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
627a0265fb changed default widgetset gtk to gtk2
git-svn-id: trunk@16910 -
2008-10-07 12:05:16 +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
vincents
f0bab52919 synedit: clean up from Martin Friebe (issue #12219)
git-svn-id: trunk@16692 -
2008-09-24 06:40:40 +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
581dffa96a synedit: using carbon as default under darwin
git-svn-id: trunk@16455 -
2008-09-06 16:49:04 +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
paul
bc70d6ed36 synedit: fix compilation (#0012014)
git-svn-id: trunk@16332 -
2008-08-31 13:29:45 +00:00
mattias
69487343c3 synedit: tsynmemo: fixed computing line ends
git-svn-id: trunk@16330 -
2008-08-31 12:23:17 +00:00
mattias
b0e300ede7 synedit: undo typo
git-svn-id: trunk@16287 -
2008-08-29 08:38:38 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
3b7fe72130 synedit: fixed tex highlighter for utf-8 chars, bug #11960
git-svn-id: trunk@16205 -
2008-08-24 12:28:45 +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
64a4f59ccb synedit: fixed unit circle
git-svn-id: trunk@16192 -
2008-08-23 06:45:46 +00:00
mattias
484a8a0748 updated po files
git-svn-id: trunk@16075 -
2008-08-15 15:55:31 +00:00
mattias
1f21f5efc1 IDE: fixed checklfm dlg
git-svn-id: trunk@16032 -
2008-08-12 12:26:57 +00:00
mattias
15e404fffb cleanup
git-svn-id: trunk@15992 -
2008-08-08 08:21:56 +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
69c476ffef synedit: allowing @end labels in asm blocks
git-svn-id: trunk@15944 -
2008-08-03 20:18:07 +00:00
mattias
dbd42eaff5 reduced warnings
git-svn-id: trunk@15929 -
2008-07-31 11:46:16 +00:00
mattias
e97270c3db reduced warnigns
git-svn-id: trunk@15928 -
2008-07-31 11:45:06 +00:00
mattias
4b1a319282 synedit: TSynPasSyn made NestedComments writable for compatibility
git-svn-id: trunk@15927 -
2008-07-31 11:00:16 +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
f7943628fa gtk intf: Avoid the creation of WidgetInfo to combox childs, Update the ItemIndex cache when inserting items, from Luiz
git-svn-id: trunk@15894 -
2008-07-27 21:13:41 +00:00
mattias
a93efcf0f1 examples: added example for synpositionhighlighter
git-svn-id: trunk@15889 -
2008-07-27 12:24:31 +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
d94783ca8a synedit: changed bracket highlighting to default to before caret
git-svn-id: trunk@15883 -
2008-07-27 07:40:17 +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
84a8d553bb synedit: added license headers
git-svn-id: trunk@15867 -
2008-07-25 18:38:36 +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
bfa22087fc synedit: added license headers
git-svn-id: trunk@15824 -
2008-07-21 08:26:36 +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
jesus
c140fca340 updated spanish translations from Javier Villarroya (javivf)
git-svn-id: trunk@15817 -
2008-07-19 06:15:37 +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
541620b5fb synedit: replaced codepage dependent set with codepage independent
git-svn-id: trunk@15773 -
2008-07-13 22:03:06 +00:00
mattias
ebd4d40039 fixed encoding
git-svn-id: trunk@15771 -
2008-07-13 20:52:25 +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
5dcea6ca0b synedit: added @ to the work break characters (bug #11630)
git-svn-id: trunk@15715 -
2008-07-09 07:04:23 +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
067fa7a973 synedit: fixed pascal hightlighter splitting utf-8 characters
git-svn-id: trunk@15539 -
2008-06-23 13:31:22 +00:00
mattias
403b4d2250 synedit: started simple pascal indenter
git-svn-id: trunk@15538 -
2008-06-23 13:30:50 +00:00
mattias
4c0ed780bf synedit: clean up
git-svn-id: trunk@15520 -
2008-06-22 22:57:31 +00:00
marc
b9ed9ea932 * Optimized setting bitmap dimension
git-svn-id: trunk@15512 -
2008-06-22 18:27:48 +00:00
vincents
652b5eb74c default widget set for Mac OS X is now Carbon, not gtk1
git-svn-id: trunk@15488 -
2008-06-20 19:33:44 +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
mattias
faf4ac0821 IDE: environment: added turkish
git-svn-id: trunk@15469 -
2008-06-19 10:01:07 +00:00
marc
5bf1f6ccbd Updated Lithuanian translation by Valdas Jankunas
git-svn-id: trunk@15460 -
2008-06-18 22:45:32 +00:00
mattias
20f65465f5 gtk1: fixed compilation
git-svn-id: trunk@15430 -
2008-06-15 11:31:56 +00:00
mattias
aa685453e3 synedit: removed indenter
git-svn-id: trunk@15429 -
2008-06-15 11:28:49 +00:00
mattias
f1f758e093 synedit: started TSynCustomBeautifier
git-svn-id: trunk@15428 -
2008-06-15 10:59:47 +00:00
mattias
a2eb97b8a3 synedit: hiding half visible caret on last visible line, bug #9916
git-svn-id: trunk@15415 -
2008-06-13 19:28:58 +00:00