MantisBT - KWStyle | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0011010 | KWStyle | public | 2010-07-19 08:29 | 2010-07-19 08:29 | ||||||
| Reporter | Brad Davis | |||||||||
| Assigned To | ||||||||||
| Priority | normal | Severity | feature | Reproducibility | N/A | |||||
| Status | new | Resolution | open | |||||||
| Platform | OS | OS Version | ||||||||
| Summary | 0011010: Translate strings and comments to blank characters before checks | |||||||||
| Description | There are many instances where a buffer search either: 1) does not check to see if the find was in a quoted string (but should) or 2) does check with a large overhead (order # quoted strings squared) This leads to bugs and inefficient code. Currently comments are removed from the buffer before processing, a similar strategy should apply to strings. However, instead of removing comments and strings, comment and string characters should be replaced with something like SPACE or '_' or something like that. That way we can simplify by not having to contend with mapping buffer position between Buffer and BufferNoComments. | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2010-07-19 08:29 | Brad Davis | New Issue | ||||||||
| 2010-07-19 08:30 | Brad Davis | Relationship added | related to 0011003 | |||||||
| There are no notes attached to this issue. |