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.

Bug 78821

Summary: *Code Model* Lexer incorrectly change offset when consume "tab"
Product: cnd Reporter: Vladimir Voskresensky <vv159170>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: CLOSED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Voskresensky 2006-06-21 21:39:27 UTC
Lexer must correctly change offset when consume "tab" symbol. Now it's always
increased by one.
Also the tabSize (CharScanner.setTabSize()) should be set before calling lexer
based on editor settings.
Comment 1 Vladimir Voskresensky 2006-06-21 22:09:28 UTC
made some changes to handle "tab" consuming with correct changing offset.

Checking in cpplexer.g;
/cvs/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/antlr2/Attic/cpplexer.g,v
 <--  cpplexer.g
new revision: 1.1.2.28; previous revision: 1.1.2.27
Comment 2 Vladimir Voskresensky 2006-06-22 07:36:52 UTC
reverted modifications

Checking in cpplexer.g;
/cvs/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/antlr2/Attic/cpplexer.g,v
 <--  cpplexer.g
new revision: 1.1.2.29; previous revision: 1.1.2.28
Comment 3 Vladimir Voskresensky 2007-08-23 16:43:59 UTC
doesn't need anymore
Comment 4 dnikitin 2007-12-27 17:26:24 UTC
closed