Commit Graph

59 Commits (ccf9e75b79d0209b45dc86b70a48735034f13d24)

Author SHA1 Message Date
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
Björn Lindqvist d93a444c4c FUEL: improved regexps for setters and getters, now they arent fooled by the parsing words << and >> 2013-12-01 06:51:48 -08:00
Björn Lindqvist 4d56a136a1 FUEL: correct colorizing for FROM and EXCLUDE 2013-12-01 06:51:48 -08:00
Björn Lindqvist 85098e0e49 FUEL: fixed regexp for C-GLOBAL and RENAME 2013-12-01 06:51:48 -08:00
Björn Lindqvist e1bf75cc68 FUEL: colorizing for PROTOCOL and some uncommon parsing words 2013-12-01 06:51:48 -08:00
Björn Lindqvist f21d634a13 FUEL: highlight predicates 2013-12-01 06:51:48 -08:00
Björn Lindqvist a2c7b7c82c FUEL: font-lock ENUMs 2013-12-01 06:51:48 -08:00
Björn Lindqvist 08cf1b3567 FUEL: fix regexp for number literals 2013-09-20 13:42:50 -07:00
Björn Lindqvist 9f8648e1e7 FUEL: highlight alien callbacks identical to functions 2013-09-20 13:42:50 -07:00
Björn Lindqvist 05b18519f6 FUEL: improve handling of whitespace in regexps 2013-09-20 13:42:50 -07:00
Björn Lindqvist 86712433cd FUEL: Improved highlighting of stack effect declarations for alien functions. Types are highlighted bold using the new face factor-font-lock-type-in-stack-effect. 2013-09-20 13:42:50 -07:00
Björn Lindqvist ccda289400 FUEL: better matching for hex numbers, eg. 0xDeadBeefBabe 2013-09-20 13:42:50 -07:00
Björn Lindqvist 85c02e0e0d FUEL: improved highlighting of alien syntax; TYPEDEF, C-TYPE, STRUCT and UNION-STRUCT 2013-09-20 13:42:50 -07:00
Björn Lindqvist 0ac088ccfc FUEL: Correct font-locking of tuples with initial values. 2013-08-19 11:44:41 -07:00
Björn Lindqvist f35795f415 FUEL: Correct regexp to work with multiline USING: 2013-08-14 18:02:32 +02:00
Björn Lindqvist 365a790eba FUEL: Put several more characters that can be used in word names in the symbols class 2013-08-14 17:41:36 +02:00
Björn Lindqvist 13945c4252 FUEL: Exterminating the evil tabs. Also highlight them so they get easier to kill. 2013-08-07 23:53:24 +02:00
Björn Lindqvist 9fae604546 FUEL: One + less... 2013-08-07 18:35:07 +02:00
Björn Lindqvist 3fea81d7cc FUEL: Improve font-locking of constructs that span multiple lines. 2013-08-07 18:27:59 +02:00
Björn Lindqvist 830637c84d FUEL: Improved font-locking. Colors for USING expressions, hexadecimal numbers and tuple slots. 2013-08-05 11:16:23 -07:00
Björn Lindqvist 1358a9eb55 FUEL: Compatibility functions for Emacs 24.2. 2013-07-13 19:13:39 +02:00
Erik Charlebois ba02db8485 FUEL: Fix Emacs package metadata for MELPA recipe 2013-05-07 02:03:26 -04:00
Erik Charlebois deb0ceaa9c Large reorg of FUEL codebase
* Modernize the FUEL elisp code for Emacs 24.3. Emacs 24.3 deprecated
the old 'cl lib and standardized a new 'cl-lib lib to put the name
clash issues to rest once and for all. This version of FUEL now requires
24.3.
* Move FUEL code that was needed by factor-mode into factor-mode and
rename appropriately. factor-mode and FUEL are now clearly separated
and FUEL depends on factor-mode.
* Set up FUEL with appropriate autoloads so that it's Emacs 24 package
manager friendly. FUEL can now be uploaded to MELPA or some similar
package manager.
* Changed the Factor faces for font locking to inherit from the default
Emacs faces rather than defaulting to other colors. This means that
Emacs themes will work for Factor code out of the box. Further
tailoring of Factor-specific faces can be done by users themselves.
* Cleaned up a lot of code to use Emacs conventions
(define-defined-mode, define-minor-mode, indent-function, etc) and added
a propery syntax table so that paren matching works, and word/symbol
skipping works.
* Added a new minor mode, fuel-autohelp-mode, that displays the help for
the symbol under point in another window. A fusion of fuel-autodoc-mode
and fuel-help-mode that's quite handy for reading Factor code.
2013-05-07 01:41:12 -04:00
Jose A. Ortega Ruiz 0c5a0ee058 FUEL: Menus for factor, listener, doc and debug buffers. 2010-08-13 04:25:57 +02:00
Erik Charlebois bb3665f37e FUEL: Flip the default behavior of visit-other-file so that it does not try to create -docs or -tests files if they do not exist by default. This is the more common case when spelunking in code and in general you want to scaffold those files anyway. 2010-02-21 03:27:16 -08:00
Jose A. Ortega Ruiz 4a6ee34ec4 FUEL: Bug fix: indentation of consecutive setter lines. 2009-06-14 20:29:27 +02:00
Jose A. Ortega Ruiz a381d12b6d FUEL: Automatic insertion of scaffolding in docs and test upon file creation. 2009-06-02 03:21:35 +02:00
Jose A. Ortega Ruiz 577c450db9 FUEL: When creating foo-docs.factor, optionally insert scaffold. 2009-06-02 00:55:53 +02:00
Jose A. Ortega Ruiz 90dac6f881 FUEL: C-uC-co won't ask for file creation while cycling. 2009-02-22 20:20:46 +01:00
Jose A. Ortega Ruiz 18c2c9cf03 FUEL: Fix indentation of multiline TUPLE:, SYMBOLS: & similar forms. 2009-01-12 12:13:21 +01:00
Jose A. Ortega Ruiz 4543590ca9 FUEL: Electric indentation for ] and } fixed. 2009-01-11 18:01:52 +01:00
Jose A. Ortega Ruiz bb7c82a9aa FUEL: Fix for float highlight (+ en exp) and small tweaks. 2009-01-11 14:15:26 +01:00