martin
d4702f28d9
SynEdit: Highlighter, limit default as key, only in classes
...
git-svn-id: trunk@20605 -
2009-06-12 16:06:48 +00:00
martin
9d97223c5c
SynEdit: Added Copy and paste with ability to keep folded text
...
git-svn-id: trunk@20587 -
2009-06-11 23:00:44 +00:00
martin
6de1371b98
SynEdit: auto fold region on load, if flagged => fixed for %region ; issue #13514
...
git-svn-id: trunk@20526 -
2009-06-08 18:09:37 +00:00
martin
ad46eb8954
SynEdit, Pascal Highlighter. Support strict private, strict protected; issue #13928
...
git-svn-id: trunk@20524 -
2009-06-08 17:03:27 +00:00
martin
16e227e58a
SynEdit: auto fold region on load, if flagged / issue #13514
...
git-svn-id: trunk@20523 -
2009-06-08 15:27:18 +00:00
martin
e1f781f1a1
SynEdit: fixed wrong higlight for forward class declaration (matching "class" <> not existing "end" word pair) issue #13750
...
git-svn-id: trunk@20029 -
2009-05-18 22:56:50 +00:00
martin
9e7e2cfd0c
SynEdit, Pas-Highlighter: fixed a crash, by pointer range-check violation / random mem access
...
git-svn-id: trunk@19957 -
2009-05-13 17:15:31 +00:00
martin
d26b4ccd22
Synedit: Fixed Fold-contextmenu for ifdef, region
...
git-svn-id: trunk@19759 -
2009-05-02 11:06:58 +00:00
martin
468a0e145f
SynEdit, Fixed fold-context menu. Some items would not show, if begin-end blocks were not folded. issue #13576
...
git-svn-id: trunk@19602 -
2009-04-24 10:12:20 +00:00
mattias
a7d4c2d5b4
synedit: clean up
...
git-svn-id: trunk@19518 -
2009-04-19 21:10:03 +00:00
martin
59d3bbd7e9
SynEdit Folding: Improved block detection for Pop-up-Menu on fold-gutter
...
git-svn-id: trunk@19511 -
2009-04-19 12:44:11 +00:00
martin
d3bde9aa5a
SynEdit, Folding: allow collapsing more than one fold per line. issue #12811
...
git-svn-id: trunk@19491 -
2009-04-18 18:58:50 +00:00
martin
fee076fd23
SynEdit: Fixed a possible null pointer exception, in highlighter.
...
git-svn-id: trunk@19449 -
2009-04-15 20:33:01 +00:00
martin
094f0e041d
SynEdit, Pascal Highlighter better matching of incorrect nested blocks
...
git-svn-id: trunk@19447 -
2009-04-15 15:50:35 +00:00
martin
65af78ff54
SynEdit: Fixed issue with fold/word-pair-markup "procedure xxx; forward" issue #0013487
...
git-svn-id: trunk@19412 -
2009-04-13 17:39:09 +00:00
martin
71fb77ec40
SynEdit: Fold at %Region and $IfDef (Issue #12718 )
...
git-svn-id: trunk@19409 -
2009-04-13 15:36:53 +00:00
martin
cf323f5239
SynEdit: fixed folding for forward/external procedures in implementation section
...
git-svn-id: trunk@19317 -
2009-04-10 16:44:14 +00:00
paul
ef6a23b55a
synedit: highlight "alias"
...
git-svn-id: trunk@19300 -
2009-04-10 11:56:11 +00:00
mattias
72183ac80c
synedit: clean up
...
git-svn-id: trunk@19244 -
2009-04-06 11:12:35 +00:00
martin
d683c26988
SynEdit: Allow configuration for folding
...
git-svn-id: trunk@19234 -
2009-04-05 20:46:30 +00:00
martin
0ba73e0a74
SynEdit Folding: protect form accidental deep nesting. (Pascal cuts at 100 recursive nests)
...
git-svn-id: trunk@19230 -
2009-04-05 16:03:17 +00:00
martin
9c3c06ecf8
SynEdit, Cleanup: Removed unused unit dependencies / changed some var-param into out-param
...
git-svn-id: trunk@19222 -
2009-04-04 21:23:53 +00:00
martin
85faebfd2b
SynEdit: Customizable DividerDraw settings (forgot result for global var sections)
...
git-svn-id: trunk@19221 -
2009-04-04 18:44:54 +00:00
martin
9918770992
SynEdit: Customizable DividerDraw settings (solves issue #13322 )
...
git-svn-id: trunk@19220 -
2009-04-04 18:27:45 +00:00
martin
2a566aa129
SynEdit: Improved matching try/except blocks for highlight
...
git-svn-id: trunk@19155 -
2009-03-29 15:45:46 +00:00
martin
290a744de1
SynEdit: Fixed issue with unclosed block (would include a line too much from past the EOF) Issue #13415
...
git-svn-id: trunk@19152 -
2009-03-29 14:20:14 +00:00
martin
96a4882d61
SynEdit Highlighter: Fix to divider-draw changes in revision 19144 #8d681fd278
...
git-svn-id: trunk@19147 -
2009-03-29 00:16:35 +00:00
martin
8d681fd278
SynEdit Highlighter: Refactor; Highlighter now differs between Fold and Markup ranges; added Markup-Word-Pairs for repeat/try/case
...
git-svn-id: trunk@19144 -
2009-03-28 22:08:32 +00:00
martin
5bb8ad3f37
SynEdit: Refactor/Cleanup Highlighter
...
git-svn-id: trunk@19103 -
2009-03-25 21:40:50 +00:00
martin
1473f651bd
SynEdit: Markup-Current-Word, improved dealing with open "begin" closed by next "procedure"
...
git-svn-id: trunk@19081 -
2009-03-23 22:47:11 +00:00
martin
4fb2ec2495
SynEdit: Refactor/Cleanup Highlighter and Current-Word-Markup
...
git-svn-id: trunk@19079 -
2009-03-23 21:48:43 +00:00
martin
d9396e4d39
SynEdit, refactor highlighter: Moved folding code into a base-class of its own
...
git-svn-id: trunk@19062 -
2009-03-22 15:24:32 +00:00
martin
019e7e3aa2
SynEdit: Fixes to Folding (certain folds were mismatched since revision 19048 #10773be327 / Force-close "begin" at next "procedure"
...
git-svn-id: trunk@19056 -
2009-03-21 17:49:06 +00:00
martin
e8615f8e60
SynEdit highlighter: fixed class-end detection / revision 19048 #10773be327
...
git-svn-id: trunk@19051 -
2009-03-21 00:47:33 +00:00
martin
c840c93831
SynEdit highlighter: fixed a null range issue from revision 19048 #10773be327
...
git-svn-id: trunk@19049 -
2009-03-20 23:58:35 +00:00
martin
10773be327
SynEdit: Speed-up for the PascalHighlighter. Significant reduction of memory usage on "bad units".
...
git-svn-id: trunk@19048 -
2009-03-20 23:10:40 +00:00
martin
2f1b930d22
SynEdit, Folding: "type" does not always start a block: "foo = type string;"
...
git-svn-id: trunk@18799 -
2009-02-22 20:05:43 +00:00
martin
d156b92d1b
SynEdit, PasHighlighter: The matching "End" for "Unit" was no longer found. Bug since revision 18443 #f4ca0b1d9f
...
git-svn-id: trunk@18571 -
2009-02-04 22:11:27 +00:00
martin
aa8e136984
SynEdit: Fixed crash when adding "begin" to last line. (bug introduced in revision 18436 #42a27dba3d)
...
git-svn-id: trunk@18520 -
2009-01-31 18:47:27 +00:00
martin
42266fa406
SynEdit: Fix several Highlighter did no longer work, due to change in revision 18411 #a9764b3457
...
git-svn-id: trunk@18508 -
2009-01-30 20:13:57 +00:00
martin
799d3a721f
Synedit, reduced amount of ranges used by highlighter (fixed for last rev)
...
git-svn-id: trunk@18444 -
2009-01-25 16:00:54 +00:00
martin
f4ca0b1d9f
Synedit, reduced amount of ranges used by highlighter
...
git-svn-id: trunk@18443 -
2009-01-25 15:54:47 +00:00
martin
42a27dba3d
SynEdit: Highlight Begin/End pairs
...
git-svn-id: trunk@18436 -
2009-01-25 12:36:29 +00:00
martin
f4224ce9a5
SynEdit: Clean-up highlighter code
...
git-svn-id: trunk@18350 -
2009-01-20 00:28:54 +00:00
martin
09a43ac065
SynEdit PascalHighlighter: Improved recognition of folding in inc files (default is now off, if no implementation header is found); Fixed properties with multiply indexes
...
git-svn-id: trunk@18334 -
2009-01-18 23:10:54 +00:00
paul
047bd064e5
synedit: highlight compilerproc modifier
...
git-svn-id: trunk@18303 -
2009-01-16 02:21:04 +00:00
martin
cc2e0fdf0e
Folding: fix case inside a record definition would cause an open end block
...
git-svn-id: trunk@18248 -
2009-01-11 03:21:35 +00:00
martin
0a91971c12
SynEdit Folding: Fixed detection of procedure blocks
...
git-svn-id: trunk@18177 -
2009-01-06 20:46:47 +00:00
martin
d5955b6de5
SynEdit Folding: Highlighter didn't reset bracket count (some folds where not available)
...
git-svn-id: trunk@18070 -
2009-01-02 23:58:25 +00:00
martin
e2d80cd0fd
SynEdit, Folding: Refined the block-end for class-sections (private/public)
...
git-svn-id: trunk@18026 -
2009-01-01 22:55:39 +00:00
martin
45a82235cd
SynEdit: Fold at unit, implementation, program,...
...
git-svn-id: trunk@18025 -
2009-01-01 22:35:22 +00:00
martin
8b165499cd
SynEdit: Folding, fixed type, const, var blocks to end before the next block
...
git-svn-id: trunk@18024 -
2009-01-01 21:38:03 +00:00
martin
3b5634ffe0
SynEdit: new folding for 64bit (bug #12900 )
...
git-svn-id: trunk@18022 -
2009-01-01 20:24:26 +00:00
martin
57b43172d7
SynEdit: Folding, fix last check-in for "foo = class of bar;"
...
git-svn-id: trunk@18015 -
2009-01-01 18:11:35 +00:00
martin
ee56753484
SynEdit: More folding at Classes, Record, Var, Const, Type, Uses
...
git-svn-id: trunk@18014 -
2009-01-01 17:49:29 +00:00
martin
a2acbf201c
SynEdit: Folding for full Procedure; Fix highlighting of property with comment (bug #12335 ); fix Highlighting of directives in asm block
...
git-svn-id: trunk@18010 -
2009-01-01 13:59:35 +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
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
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
mattias
69c476ffef
synedit: allowing @end labels in asm blocks
...
git-svn-id: trunk@15944 -
2008-08-03 20:18:07 +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
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
067fa7a973
synedit: fixed pascal hightlighter splitting utf-8 characters
...
git-svn-id: trunk@15539 -
2008-06-23 13:31:22 +00:00
paul
52a6a70e01
synedit: highlight VarArgs keyword (from Mattias)
...
git-svn-id: trunk@15007 -
2008-04-29 11:06:10 +00:00
mattias
63a8c982ad
gtk intf: fixed crash on paste for 64 bit
...
git-svn-id: trunk@11697 -
2007-07-31 23:13:06 +00:00
mattias
efaec13a02
codetools, TSynPasSyn: aded bitpacked keyword
...
git-svn-id: trunk@11173 -
2007-05-21 10:09:46 +00:00
vincents
2b2dcceaac
synedit: use registry key constants from registry unit instead of LCLType
...
git-svn-id: trunk@10902 -
2007-04-06 17:37:01 +00:00
mattias
4eb87534ac
synedit: changed TSynPasSyn to use internally PChar instead of String
...
git-svn-id: trunk@10881 -
2007-04-05 12:27:23 +00:00
mattias
40a2432420
synedit: fixed updating gutter when codefolding ranges changed
...
git-svn-id: trunk@10412 -
2007-01-10 11:17:02 +00:00
mattias
a527f37527
SynEdit: added NoStackFrame to keywords of TSynPasSyn
...
git-svn-id: trunk@10287 -
2006-12-04 00:51:20 +00:00
mattias
44743b499f
TSynPasSyn: added keyword otherwise issue #7529
...
git-svn-id: trunk@10141 -
2006-10-31 12:52:43 +00:00
mattias
51bd7772b9
synedit: fixed codefolding subblocks when case without begin
...
git-svn-id: trunk@9665 -
2006-07-22 14:45:11 +00:00
mattias
06cd9beabc
synedit: added subblocks for codefolding
...
git-svn-id: trunk@9663 -
2006-07-22 12:53:15 +00:00
mattias
e76034130a
added try..end to codefolding from Martin Smat
...
git-svn-id: trunk@9662 -
2006-07-22 12:03:57 +00:00
mattias
b399abb1a0
implemented freepascal highlighter with nested comments for (* comments
...
git-svn-id: trunk@9602 -
2006-07-14 11:26:39 +00:00
mattias
25cfb2b746
implemented freepascal highlighter with nested comments issue #1991
...
git-svn-id: trunk@9601 -
2006-07-14 11:22:25 +00:00
mattias
44421a008a
added keywords to TSynPasSyn package, requires, contains
...
git-svn-id: trunk@8976 -
2006-03-22 00:31:19 +00:00
mattias
98aded6f2b
added string, widestring, ansistring, shortstring to TSynPasSyn
...
git-svn-id: trunk@8580 -
2006-01-20 21:51:01 +00:00
mattias
d7347356ff
implemented compiler options parsed optins with platform independent makros, disabled string highlighting
...
git-svn-id: trunk@8573 -
2006-01-20 13:38:42 +00:00
mattias
0cc6b96b75
added generic and specialize as keywords to pascal syntax highlighter
...
git-svn-id: trunk@8365 -
2005-12-25 16:27:42 +00:00
mattias
47643bc105
added experimental codefolding to IDE
...
git-svn-id: trunk@7949 -
2005-10-10 17:39:04 +00:00
mattias
7cd65400ed
implemented codefolding in synedit highlighter
...
git-svn-id: trunk@7935 -
2005-10-08 16:01:15 +00:00
mattias
e65b21be25
started codefold blocks
...
git-svn-id: trunk@7924 -
2005-10-06 22:20:05 +00:00
mattias
17b3e7917b
added keyword Deprecated to TSynPasSyn
...
git-svn-id: trunk@7803 -
2005-09-23 19:10:21 +00:00
mattias
4b77b6b726
fixed synedit: assigning text with #0 , TSynPasSyn and TSynPHPSyn for #0 , added PHP highlighter to IDE
...
git-svn-id: trunk@7539 -
2005-08-22 11:08:59 +00:00
mattias
c1e4ad243b
various codefolding imrpovements from Darius
...
git-svn-id: trunk@7330 -
2005-07-08 07:03:52 +00:00
vincents
5c84454943
changed hexstr(cardinal()) for pointers to dbgs() and other 64-bits fixes from Peter Vreman
...
git-svn-id: trunk@6915 -
2005-03-07 21:59:45 +00:00
mattias
617948d9c8
removed unneeded units in uses sections
...
git-svn-id: trunk@5443 -
2004-05-02 12:01:15 +00:00
mattias
7c145c169c
updated russian translation
...
git-svn-id: trunk@5020 -
2004-01-06 12:50:56 +00:00
mattias
77694e4aa0
codecompletion: forward proc body position now block sensitive
...
git-svn-id: trunk@4877 -
2003-12-06 19:20:46 +00:00
mattias
5e5c1122a7
renamed LCLLinux to LCLIntf
...
git-svn-id: trunk@4637 -
2003-09-18 09:21:03 +00:00
mattias
f30cb77bc9
small bugfixes and fixed non checked menu items activate
...
git-svn-id: trunk@3830 -
2003-02-03 22:28:08 +00:00
mattias
022d633371
position highlighter can now copy from other highlighters
...
git-svn-id: trunk@3684 -
2002-12-03 00:13:10 +00:00
mattias
cf663dfc48
added SynRegExpr and SynHighlighterMulti
...
git-svn-id: trunk@3654 -
2002-11-21 20:04:56 +00:00
lazarus
d0e6ec2023
MG: accelerated synedit
...
git-svn-id: trunk@3230 -
2002-08-21 14:44:18 +00:00
lazarus
2a2e84fe6c
MG: accelerations for synedit
...
git-svn-id: trunk@2052 -
2002-08-17 23:40:48 +00:00
lazarus
76b1e2b399
MG: fixed synedit pascal highlighter of label @@end
...
git-svn-id: trunk@1487 -
2002-03-08 16:29:41 +00:00
lazarus
4e0b340ade
MG: workaround for strange synedit first token bug
...
git-svn-id: trunk@1443 -
2002-02-17 21:28:54 +00:00
lazarus
38c4c4b2d6
MG: directive attribute for pascal highlighter
...
git-svn-id: trunk@658 -
2002-02-03 17:02:50 +00:00
lazarus
6d1ba0f10c
MG: fixed string constant at line end
...
git-svn-id: trunk@656 -
2002-02-03 16:25:23 +00:00
lazarus
c9e180acac
TPanel implemented.
...
Basic graphic primitives split into GraphType package, so that we can
reference it from interface (GTK, Win32) units.
New Frame3d canvas method that uses native (themed) drawing (GTK only).
New overloaded Canvas.TextRect method.
LCLLinux and Graphics was split, so a bunch of files had to be modified.
git-svn-id: trunk@653 -
2002-02-03 00:24:02 +00:00
lazarus
df362b22e7
MG: added perl highlighter
...
git-svn-id: trunk@502 -
2001-12-10 22:39:37 +00:00
lazarus
7838853d27
MG: added xml and lfm highlighter
...
git-svn-id: trunk@485 -
2001-12-06 10:15:07 +00:00
lazarus
4262f9a291
MG: added multi language syntax hilighting
...
git-svn-id: trunk@459 -
2001-11-27 15:06:13 +00:00
lazarus
5535649f0b
MG: fixes for fpc 1.1: range check errors
...
git-svn-id: trunk@365 -
2001-10-24 00:35:55 +00:00
lazarus
68eca96428
MG: fixed mem leaks and fixed range check errors
...
git-svn-id: trunk@334 -
2001-09-30 08:34:52 +00:00
lazarus
9df86b0fa9
MG: bugfix for clipping rect
...
git-svn-id: trunk@301 -
2001-06-26 23:24:22 +00:00
lazarus
e186a1d1d7
MG: alternative key bugfix, shiftstate bugfix
...
git-svn-id: trunk@297 -
2001-06-20 17:00:20 +00:00
lazarus
be565cb5d9
MG: added keyword "operator"
...
git-svn-id: trunk@290 -
2001-06-15 08:02:43 +00:00
lazarus
da5aa5f57d
Added the synedit files
...
Shane
git-svn-id: trunk@140 -
2001-01-26 19:34:10 +00:00