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 - *Code Model* Lexer incorrectly change offset when consume "tab"
Summary: *Code Model* Lexer incorrectly change offset when consume "tab"
Status: CLOSED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-21 21:39 UTC by Vladimir Voskresensky
Modified: 2007-12-27 17:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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