Commit Graph

101 Commits

Author SHA1 Message Date
Basile Burg dd182b0973
fix #180 - At attribs that are not separated are not colorized 2017-08-12 02:35:46 +02:00
Basile Burg 0cc827bb2a
class registration not needed for component streaming 2017-07-11 20:41:30 +02:00
Basile Burg 09fa996fd7
fix #142 and simplify slightly the highlighter 2017-07-10 10:23:17 +02:00
Basile Burg 5145259308
prevent successive tests 2016-10-28 11:26:12 +02:00
Basile Burg 64ba94705d highlitgther, add attributes for the phobos-style types, close #92 2016-08-27 14:03:50 +02:00
Basile Burg 4172a3afcd improve layout on first exec 2016-08-08 14:38:26 +02:00
Basile Burg a285186121 rename parameters that are prefixed
aValue, aFilename, etc
2016-07-10 01:44:36 +02:00
Basile Burg 4cba1ff672 finish highlighter preset system, close #59 2016-06-17 16:57:17 +02:00
Basile Burg 3dcb9cad50 fix small leak in highlighter 2016-06-12 13:50:09 +02:00
Basile Burg 264f1afbe4 nothing 2016-04-16 21:35:47 +02:00
Basile Burg 24f612714d highlighter, add token for the attributes 2016-04-15 02:44:17 +02:00
Basile Burg 02af7dee46 lexer (HL), added a perfect dictionnary for the straight keywords 2016-04-10 04:44:08 +02:00
Basile Burg 39f868ad7e lexer (HL), added a perfect dictionnary for the special keywords 2016-04-09 17:14:33 +02:00
Basile Burg 7e3a619b08 removed empty statement as tkError
didn't work because of token strings and struct init
2016-03-30 16:54:58 +02:00
Basile Burg ae4c955613 fix highlighter, second index in slice considered as float litteral 2016-03-29 18:18:44 +02:00
Basile Burg ed9d16d08a cleanup 2016-03-29 05:24:39 +02:00
Basile Burg 1c33a5bb4a fix highlighter, property for int litterals 2016-03-29 04:30:25 +02:00
Basile Burg 5199c15838 added a more or less common lexer for int and float literals 2016-03-28 23:17:36 +02:00
Basile Burg cece2ad6d8 highlighter, asm attribs set directly in Next(); 2016-03-28 09:06:38 +02:00
Basile Burg 2a36a73f22 added a more or less common lexer for hex and bin literals 2016-03-28 05:48:49 +02:00
Basile Burg 487241064c fix, valid operator combinations could be detected as invalid 2016-03-28 02:40:42 +02:00
Basile Burg 930d3577e5 bit less tolerant HL lexer 2016-03-19 02:52:28 +01:00
Basile Burg 0d7e34c1f1 d2 highlighter, add a token kind for errors 2016-03-11 18:56:14 +01:00
Basile Burg 2f780638a4 fixup for #24 2016-03-01 09:37:02 +01:00
Basile Burg 166bca0f14 removed deprecated props 2016-02-28 05:15:26 +01:00
Basile Burg c7792d8bbd fix typo in publications + prevent the breaking change by e2f552a 2016-02-03 06:34:35 +01:00
Basile Burg e2f552ac28 hl, renamed props with attribs suffix 2015-12-26 04:48:42 +01:00
Basile Burg fbaf26f319 fix, completion mostly broken due to change in Laz 1.6-rc1
see http://forum.lazarus.freepascal.org/index.php/topic,30663.msg196486.html#msg196486
2015-12-22 16:47:01 +01:00
Basile Burg 5fc8b76512 switch to FPC3 + Laz 1.6 2015-12-22 10:24:18 +01:00
Basile Burg b5d15c1729 fine tweaks, default options 2015-12-13 22:41:41 +01:00
Basile Burg bacac42fb2 editor options, better names
note: breaks reloading of current option file
2015-12-12 11:03:11 +01:00
Basile Burg 87f8385f50 editor, use TSynEdit markup to highligh current identifier matches 2015-12-11 08:39:02 +01:00
Basile Burg b977e9a092 highlighter, removed user-defined KW 2015-12-11 04:11:24 +01:00
Basile Burg f39aaf5e36 highlighter, added user-defined keyword + user-defined attributes for these KW 2015-12-10 07:13:55 +01:00
Basile Burg 1226c3bed0 highlighter, added __gshared as a KW 2015-12-10 06:52:55 +01:00
Basile Burg c784278e54 more fix related to ranges, switch from ddoc to comment, full block to rescanned due to missing comparison 2015-11-09 12:49:02 +01:00
Basile Burg 5fb7e718ae fix, UB in HL due to white attribs not always defined after skipping white chars 2015-10-30 04:44:25 +01:00
Basile Burg db8c89da93 note about HL scanner using char(10) to get eol 2015-10-22 01:59:52 +02:00
Basile Burg a13603f286 fix, highlighter, unfinished escape character at EOF caused a char/string literal not to be displayed 2015-10-22 01:25:02 +02:00
Basile Burg a604e9cacf fix, range HL problem when not all foldkinds activated 2015-10-15 01:53:56 +02:00
Basile Burg 057216db69 highlighter, sharp symbol was not handled
e.g  #line
2015-09-24 12:26:24 +02:00
Basile Burg 1cb1615a12 highlighter, special keywords have their own style
in options: SpeckAttrib
2015-09-21 07:57:34 +02:00
Basile Burg f2618e1ba1 update todos 2015-09-18 07:41:07 +02:00
Basile Burg 95aef4170f style, put locals init in declaration instead of body 2015-09-04 23:48:07 +02:00
Basile Burg a4139bdfc1 fix #27, the highlighter does not handle the script line 2015-08-23 16:30:57 +02:00
Basile Burg fc8eed3c5a updated range comp proc 2015-06-02 22:47:30 +02:00
Basile Burg dfbe175866 only test asm KW if tok is tkKeywd 2015-03-24 07:40:33 +01:00
Basile Burg 6d7193877c fix, ddoc fold as option, close according to options, not both 2015-03-24 07:39:45 +01:00
Basile Burg a955a0557d improved D2 highlighter, ddoc fold as option
+ multi line comments were not handled in asm ranges
2015-03-24 07:20:23 +01:00
Basile Burg 664d406e9e improvement, blanks & symbols disable current identifier HL 2015-03-23 04:18:11 +01:00