[Sciviews-commits] r376 - komodo/SciViews-K-dev/pylib

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri May 13 12:54:53 CEST 2011


Author: prezez
Date: 2011-05-13 12:54:53 +0200 (Fri, 13 May 2011)
New Revision: 376

Modified:
   komodo/SciViews-K-dev/pylib/lang_r.py
Log:
lang_r.py: Fixed: 'RBuffer' base class changed to UDLBuffer (was incorrectly set to CitadelBuffer)
Now UDL debugging works: http://community.activestate.com/faq/debug-udl-language-styling

Modified: komodo/SciViews-K-dev/pylib/lang_r.py
===================================================================
--- komodo/SciViews-K-dev/pylib/lang_r.py	2011-05-11 13:20:59 UTC (rev 375)
+++ komodo/SciViews-K-dev/pylib/lang_r.py	2011-05-13 10:54:53 UTC (rev 376)
@@ -51,7 +51,7 @@
 from codeintel2.citadel import CitadelBuffer, CitadelLangIntel
 from codeintel2.langintel import LangIntel
 from codeintel2.langintel import ParenStyleCalltipIntelMixin, ProgLangTriggerIntelMixin
-from codeintel2.udl import UDLLexer
+from codeintel2.udl import UDLLexer, UDLBuffer
 from codeintel2.util import CompareNPunctLast
 
 from SilverCity.ScintillaConstants import SCE_UDL_SSL_DEFAULT, \
@@ -2634,7 +2634,6 @@
     "zip.file.extract",
 ]
 
-
 #---- Lexer class
 # Dev Notes:
 # Komodo's editing component is based on scintilla (scintilla.org). This
@@ -2958,7 +2957,7 @@
 #   http://listserv.activestate.com/mailman/listinfo/komodo-discuss
 #   http://listserv.activestate.com/mailman/listinfo/komodo-beta
 #
-class RBuffer(CitadelBuffer):
+class RBuffer(UDLBuffer): # rather than CitadelBuffer
     # Dev Note: What to sub-class from?
     # - If this is a UDL-based language: codeintel2.udl.UDLBuffer
     # - Else if this is a programming language (it has functions,



More information about the Sciviews-commits mailing list