This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Stop using and deprecate Syntax | ||
---|---|---|---|
Product: | editor | Reporter: | Vitezslav Stejskal <vstejskal> |
Component: | -- Other -- | Assignee: | Miloslav Metelka <mmetelka> |
Status: | REOPENED --- | ||
Severity: | blocker | CC: | mfukala, pjiricka |
Priority: | P2 | Keywords: | PLAN |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | 124590 | ||
Bug Blocks: |
Description
Vitezslav Stejskal
2007-04-24 23:12:39 UTC
DrawEngine does not use Syntax anymore. Merged to trunk by: cvs up -j syntax_102406_base_0 -j syntax_102406_delivery_0 editor Checking in editor/libsrc/org/netbeans/editor/BaseDocument.java; /cvs/editor/libsrc/org/netbeans/editor/BaseDocument.java,v <-- BaseDocument.java new revision: 1.141; previous revision: 1.140 done Checking in editor/libsrc/org/netbeans/editor/BaseTextUI.java; /cvs/editor/libsrc/org/netbeans/editor/BaseTextUI.java,v <-- BaseTextUI.java new revision: 1.86; previous revision: 1.85 done Checking in editor/libsrc/org/netbeans/editor/DocumentUtilities.java; /cvs/editor/libsrc/org/netbeans/editor/DocumentUtilities.java,v <-- DocumentUtilities.java new revision: 1.5; previous revision: 1.4 done Checking in editor/libsrc/org/netbeans/editor/DrawEngine.java; /cvs/editor/libsrc/org/netbeans/editor/DrawEngine.java,v <-- DrawEngine.java new revision: 1.48; previous revision: 1.47 done Checking in editor/libsrc/org/netbeans/editor/DrawEngineLineView.java; /cvs/editor/libsrc/org/netbeans/editor/DrawEngineLineView.java,v <-- DrawEngineLineView.java new revision: 1.19; previous revision: 1.18 done Checking in editor/libsrc/org/netbeans/editor/DrawLayerFactory.java; /cvs/editor/libsrc/org/netbeans/editor/DrawLayerFactory.java,v <-- DrawLayerFactory.java new revision: 1.52; previous revision: 1.51 done Checking in editor/libsrc/org/netbeans/editor/FixLineSyntaxState.java; /cvs/editor/libsrc/org/netbeans/editor/FixLineSyntaxState.java,v <-- FixLineSyntaxState.java new revision: 1.7; previous revision: 1.6 done Checking in editor/libsrc/org/netbeans/editor/SegmentCache.java; /cvs/editor/libsrc/org/netbeans/editor/SegmentCache.java,v <-- SegmentCache.java new revision: 1.7; previous revision: 1.6 done Checking in editor/libsrc/org/netbeans/editor/SyntaxSupport.java; /cvs/editor/libsrc/org/netbeans/editor/SyntaxSupport.java,v <-- SyntaxSupport.java new revision: 1.41; previous revision: 1.40 done There's still support for storing syntax states in line elements. I've attempted to remove it in NB 7.1 but there are still some languages without a lexer (IIRC .properties support). In NB 7.2 I would like to ensure all the languages have a Lexer and remove storage of Syntax.State in line-elements. Closing old (and presumably obsolete) tasks assigned to me. If something is still needed please reopen... I guess this is still opened. Also I have assigned it to Mila. There are a few more old Syntax classes in web.core.syntax under org.netbeans.modules.web.core.syntax.deprecated, is this an issue? There are lexer classes for these languages as well, but the syntax classes are still used in parallel with the lexers. They are not needed for colorings (already based on the lexer), but for the "plain syntax analyzer" (SyntaxElement class) used by completion and possibly others. |