Commit graph

14 commits

Author SHA1 Message Date
modula t. worm 16835a43e2 Prevent Emacs fontification failure w/ lots of classes - Fixes #248
What I've done to fix this:

- add a sclang-class-list variable in sclang-language.el, which is a
  list of all the classes known to sclang. this is populated when
  sclang starts.
- update sclang-font-lock-class-keyword-matcher in
  sclang-mode.el. since the sclang-class-name-regexp now will match
  all words that start with a capital letter (see next bullet point
  for that change), this function had to be updated to check to make
  sure that the word starting with a capital letter is in the list of
  classes. if it is, then we know it's a class and it gets
  highlighted. if it's not, then it's just something the user typed
  with a capital letter, so we don't highlight it.
- update sclang-update-font-lock in sclang-mode.el. instead of
  generating a huge regexp from a list of all the classes in
  SuperCollider, just run the normal fontification from that
  function. this avoids making the regexp too big and thus prevents
  fontification from failing.
2016-11-21 17:13:01 -06:00
Tim Blechmann a20081f26a scel: initial support for SCDoc help browser
this patch introduces two new key bindings:
C-c C-y: open help browser via Help.gui
C-c h:   open help browser for a specific topic

the old help browser is still available via C-c C-h and can be used to
display pre-rendered help files.

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-10-01 11:33:24 +02:00
Tim Blechmann 83d0d94a1a scel: bytecompile fix, correct use of defvar and defconst and add requirements
Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-07-22 20:35:00 +02:00
Tim Blechmann 6726ce6618 scel: use in-process library recompilation
scel is modified to support in-process library recompilation. the key
binding has slightly been changed:
C-c C-l - recompile the library
C-c C-o - restart the interpreter

Signed-off-by: Tim Blechmann <tim@klingt.org>
2011-06-27 21:50:03 +02:00
Tim Blechmann d1639c1cbb remove trailing whitespaces
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9417 a380766d-ff14-0410-b294-a243070f3f08
2009-09-26 06:17:48 +00:00
Marije Baalman 4bff94c0cc committed ide platform switch for emacs/scel, and added the evaluate document shortcut
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9398 a380766d-ff14-0410-b294-a243070f3f08
2009-09-12 15:11:18 +00:00
Dan Stowell 6be16de284 Update address of Free Software Foundation (debian source-checking tools produce warnings about this).
Also putting slightly more explicit copyright attribution in some files (for similar reason).


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9082 a380766d-ff14-0410-b294-a243070f3f08
2009-04-20 08:38:27 +00:00
Marije Baalman 0f83b8132a sclang side of dev support
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9039 a380766d-ff14-0410-b294-a243070f3f08
2009-04-09 21:09:47 +00:00
Marije Baalman 03c461eb75 small fix for dev support shortcut
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9038 a380766d-ff14-0410-b294-a243070f3f08
2009-04-09 21:06:20 +00:00
Marije Baalman c18dbb6efe added scel function for shortcut to open source file at development location
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9037 a380766d-ff14-0410-b294-a243070f3f08
2009-04-09 20:53:47 +00:00
andersvi 89784e1ee8 'unescaped' caret (removed backslash) character in syntax-table to not
break compilation in emacs v.23.

(string (char-syntax ?\^)) -> breaks in v. 22 as well, however
mofify-syntax-entry accepts it...


git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8942 a380766d-ff14-0410-b294-a243070f3f08
2009-03-17 09:26:52 +00:00
Marije Baalman 34a4a5222b added sclang-dump-full-interface and changed sclang-dump-interface, added shortcut for the latter, change sclang-eval-region shortcut to C-c C-d, which is less likely to accidentally quit emacs
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8492 a380766d-ff14-0410-b294-a243070f3f08
2009-01-11 17:05:43 +00:00
Marije Baalman 90806c7ab3 added another shortcut for the sclang-complete-symbol (the old one conflicts with some windowmanagers) and added an entry for the function to the menu
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8453 a380766d-ff14-0410-b294-a243070f3f08
2009-01-08 06:18:51 +00:00
Marije Baalman 89fba7d169 move scel to editors
git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@8370 a380766d-ff14-0410-b294-a243070f3f08
2009-01-02 19:06:25 +00:00