Commit Graph

90 Commits (master)

Author SHA1 Message Date
Silvio Mayolo 454f192562 Added imenu tags to factor-mode for Emacs 2020-05-14 15:16:55 +00:00
Björn Lindqvist dbf21ca102 FUEL: better font-locking of gl-related words 2018-01-24 14:27:31 +01:00
Doug Coleman 08771e950f fuel: Update syntax for ;FUNCTOR> and ;EBNF 2017-08-05 22:30:18 -05:00
Björn Lindqvist 6649e4a426 FUEL: ensures fuel-listener-mode and factor-mode has the same syntax table 2017-07-06 00:34:11 +02:00
Björn Lindqvist 3dd40b5ef3 FUEL: more consistent font-locking of strings 2017-07-06 00:34:11 +02:00
Doug Coleman c706bdae4e factor: Fix misc/ for GENERIC# -> GENERIC#: rename. 2017-06-01 14:05:15 -05:00
Björn Lindqvist 43e5118591 FUEL: support for the HINTS: syntax 2016-10-08 07:13:46 +02:00
Björn Lindqvist 0e937e8464 FUEL: highlighting and indentation of more syntax elements 2016-08-25 11:54:28 +02:00
Björn Lindqvist b6f3cf3199 FUEL: fontification of COLOR: and HEXCOLOR: 2016-08-21 02:23:31 +02:00
Björn Lindqvist a26d910b06 FUEL: font-locking improvments
Highlighting of flags{, HEX{ and of array parameters passed to c
functions.
2016-08-20 03:41:51 +02:00
Björn Lindqvist 2e9704a406 FUEL: syntax fixes for MAIN-WINDOW:, LOG: and TUPLE: with initial values 2016-07-30 19:03:23 +02:00
Björn Lindqvist 5345e32b84 FUEL: readding factor-method-definition-regex
It is needed by the fuel-refactor--def-word function.
2016-07-02 15:51:00 +02:00
Björn Lindqvist 1e7e0e9876 FUEL: better symbol-capturing regexp and support for X-FUNCTION 2016-07-02 15:50:59 +02:00
Björn Lindqvist 114ced868a FUEL: new indentation system based on smie
smie makes writing the indentation code much simpler. It also takes care
of some corner cases that led to bad indentation before like stack
effects split over multiple lines.

See: http://emacs.1067599.n5.nabble.com/SMIE-examples-or-guides-td400784.html
2016-07-02 15:50:59 +02:00
Björn Lindqvist a284660490 FUEL: makes accessors and tuple slots with backslashes highlight correctly 2016-06-30 02:42:23 +02:00
Björn Lindqvist e8a62460aa FUEL: fix highlighting of strings escaping quote characters
(modify-syntax-entry ?\\ "_" table) was wrong, instead a bigger regexp
is needed.
2016-06-30 01:00:42 +02:00
Björn Lindqvist 70c413e403 FUEL: simplifying 2016-06-26 13:36:03 +02:00
Björn Lindqvist de8d2fa302 FUEL: factor-previous-non-blank unused and adding doc 2016-06-19 03:23:35 +02:00
Björn Lindqvist 7efad3c3c3 FUEL: fix so that radixed numbers with commas get highlighted 2016-05-25 22:03:05 +02:00
Björn Lindqvist f0f58a9a89 FUEL: highlight of SLOT: syntax and backslashes in names 2016-05-23 02:23:21 +02:00
Björn Lindqvist 0bb00921d9 FUEL: shouldn't clobber the 'symbol variable for thing-at-point, fixes #1592 2016-03-28 14:29:31 +02:00
Björn Lindqvist 120c9d646e FUEL: fix factor-symbol-at-point so it counts " as a symbol character 2016-03-13 08:36:31 +01:00
Björn Lindqvist 3bf7e49e9f FUEL: improved fontlocking
INTERSECTION: and SPECIALIZED-ARRAYS: should be highlighted better and
REQUIRE: and REQUIRES: is old removed syntax
2016-03-11 07:36:23 +01:00
Björn Lindqvist 4f698db8fc FUEL: slightly improved font-locking for alien functions and aliases 2015-12-04 12:43:01 +01:00
Björn Lindqvist 4b4a5d24e9 FUEL: better font-locking of a bunch of syntax
Like for PREDICATE:, GAME: and SINGLETONS:
2015-10-29 00:44:08 +01:00
Björn Lindqvist d59ea8d72c FUEL: better highlighting for some uncommon syntax words 2015-10-15 02:41:40 +02:00
Björn Lindqvist 37fbe62f0d FUEL: new function, factor-syntax, which makes the declarations in
factor-font-lock-keywords better looking and less verbose
2015-08-06 09:21:33 -07:00
Björn Lindqvist ddea03b336 FUEL: corrected highlighting of QUALIFIED-WITH: 2015-08-06 09:21:33 -07:00
Björn Lindqvist 74e8b881db FUEL: fix highlighting of FUNCTIONs
The final ; was dropped from the syntax, so FUEL looks for the finishing
bracket instead
2015-08-06 09:21:33 -07:00
Björn Lindqvist da69a6c329 FUEL: improved highlighting of alias defs 2015-08-06 09:21:33 -07:00
Björn Lindqvist fd3b401749 FUEL: this fix makes it so stack effects spread out over multiple lines highlight 2015-08-06 09:21:33 -07:00
Björn Lindqvist 531332acd8 FUEL: font-lock errors the same as tuples -- it looks much better 2015-07-14 17:29:43 -07:00
Björn Lindqvist 31b17ff2f3 FUEL: a few unused font faces 2015-07-14 17:29:43 -07:00
Björn Lindqvist 896921367d FUEL: better hl of a lot of syntax like RENAME: FROM: EXCLUDE: 2015-07-14 17:29:42 -07:00
Björn Lindqvist 5931f33514 FUEL: colorize :> 2015-07-14 17:29:42 -07:00
Björn Lindqvist 017a030bbc FUEL: improved highlighting of some syntax words: PRIMITIVE, MAIN, INSTANCE 2015-06-07 17:00:56 -07:00
Björn Lindqvist 4e8258c94b FUEL: better way to font-lock comments.
just setting the comment property of the string in the
syntax-propertize-rules regexp appears to generate best results
2015-06-07 17:00:56 -07:00
Björn Lindqvist b497800f03 FUEL: better font lock highlighting for some factor constructs
Also a fix so that ! in filter! isn't wrongly interpreted as a comment.
2015-04-24 11:40:06 +02:00
Björn Lindqvist 402a2f5ac1 FUEL: Customization variable that controls whether fuel-mode is loaded automatically. 2014-04-21 08:33:09 -07:00
Björn Lindqvist d62c2ae351 FUEL: some more chars that often are used in word names 2014-04-18 08:43:12 -07:00
Björn Lindqvist 693ca82648 FUEL: factor-find-in returns correct vocab when point is on the IN:-line 2014-04-18 08:43:11 -07:00
Björn Lindqvist bf060849c9 FUEL: improve highlighting of LIBRARY:, HELP: and deprecated 2014-04-18 08:43:11 -07:00
Björn Lindqvist a80dc21337 FUEL: Use font-locks data to figure out if the token point is on is a vocab
If point is on "myvocab" in IN: myvocab fuel-help will now understand
that it is on a vocabulary token.
2014-04-18 08:43:11 -07:00
Björn Lindqvist c0ff39d129 FUEL: fix factor-find-usings and use it in fuel-help--word-help so that fuel can eval code with the right vocabs imported 2014-04-14 08:38:33 -07:00
Björn Lindqvist 35fd1ad8cb FUEL: correct fuel-helps word lookup algorithm
e.g if you lookup help for pop you should see the help page for
sequences:pop not persistent.deques.private:pop
2014-04-14 08:38:33 -07:00
Björn Lindqvist d05363e1e8 FUEL: need to catch and handle scan-error that forward-sexp can emit if there is no closing bracket 2013-12-12 08:24:02 -08:00
Björn Lindqvist b1b146e709 FUEL: fixed font-locking of SYMBOLS 2013-12-12 08:24:02 -08:00
Björn Lindqvist 084e3e98f1 FUEL: correct font-locking of nested stack effect declarations.
The new matcher function isn't "fooled" by stack effect declarations
like: ( ... seq quot: ( ... elt index -- ... ) i -- ... )
2013-12-01 06:51:48 -08:00
Björn Lindqvist d5568986b2 FUEL: improved font-locking of DESTRUCTOR and FORGET 2013-12-01 06:51:48 -08:00
Björn Lindqvist 0e1d454e66 FUEL: correct highlighting of GENERIC# and MACRO: 2013-12-01 06:51:48 -08:00