View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001563 | Far Manager | Viewer | public | 2010-11-01 09:13 | 2011-03-22 00:15 |
Reporter | zholobov | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Platform | x64 | OS | Windows | ||
Product Version | 2.0 | ||||
Summary | 0001563: Viewer highlights found string incorrectly | ||||
Description | When viewing a unicode file with BOM and searching for a string Far finds the string but highlights it incorrectly - with a 3 char offset to the left. | ||||
Steps To Reproduce | In Far 2.0.1666 x64 open attached file generic.xaml in viewer (F3). Search (F7) for string "Disabled" without quotes. Far finds the string, but highlights it with two char offset to the left. I.e. on line <vsm:VisualState x:Name="Disabled"> it highlights text ="Disabl | ||||
Additional Information | Since BOM takes two bytes, it seems highlighting does not take BOM into account when calculating position. Probably if file contained some multibyte unicode characters this bug would be even worse. | ||||
Tags | No tags attached. | ||||
Build | 0 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-11-01 09:13 | zholobov | New Issue | |
2010-11-01 09:13 | zholobov | File Added: generic.xaml | |
2010-11-01 12:06 | JohnDoe | Note Added: 0005930 | |
2011-03-22 00:15 | alexy | Relationship added | duplicate of 0000786 |
2011-03-22 00:15 | alexy | Build | => 0 |
2011-03-22 00:15 | alexy | Status | new => closed |
2011-03-22 00:15 | alexy | Resolution | open => duplicate |