View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001807 | Far Manager | Editor | public | 2011-06-22 20:42 | 2011-06-24 19:33 |
Reporter | Maximus | Assigned To | DrKnS | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.0 | ||||
Fixed in Version | 3.0 | ||||
Summary | 0001807: Зависание при нажатии в CtrlAltPgUp/CtrlAltPgDn | ||||
Description | При отключенном "[ ] Cursor beyond end of line" фар виснет, если попадется строка, короче текущего положения курсора (X). | ||||
Steps To Reproduce | == begin abc def == end выделяем блоком "f" и жмем CtrlAltPgUp | ||||
Tags | No tags attached. | ||||
Build | 2077 | ||||
|
BlkHung1101622.diff (601 bytes)
Index: editor.cpp =================================================================== --- editor.cpp (revision 6350) +++ editor.cpp (working copy) @@ -2440,9 +2440,12 @@ Lock(); Pasting++; + Edit* PrevLine = CurLine; while (CurLine!=TopList) { ProcessKey(KEY_ALTUP); + if (PrevLine == CurLine) + break; } Pasting--; @@ -2456,9 +2459,12 @@ Lock(); Pasting++; + Edit* PrevLine = CurLine; while (CurLine!=EndList) { ProcessKey(KEY_ALTDOWN); + if (PrevLine == CurLine) + break; } Pasting--; |
|
недолечил |
|
110624.diff (825 bytes)
Index: editor.cpp =================================================================== --- editor.cpp (revision 6352) +++ editor.cpp (working copy) @@ -2440,12 +2440,11 @@ Lock(); Pasting++; - Edit* PrevLine = CurLine; - while (CurLine!=TopList) + Edit* PrevLine = nullptr; + while (CurLine!=TopList && PrevLine!=CurLine) { + PrevLine = CurLine; ProcessKey(KEY_ALTUP); - if (PrevLine == CurLine) - break; } Pasting--; @@ -2458,12 +2457,12 @@ { Lock(); Pasting++; - Edit* PrevLine = CurLine; - while (CurLine!=EndList) + + Edit* PrevLine = nullptr; + while (CurLine!=EndList && PrevLine!=CurLine) { + PrevLine = CurLine; ProcessKey(KEY_ALTDOWN); - if (PrevLine == CurLine) - break; } Pasting--; |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-06-22 20:42 | Maximus | New Issue | |
2011-06-22 20:42 | Maximus | File Added: BlkHung1101622.diff | |
2011-06-23 14:50 | DrKnS | Build | => 2076 |
2011-06-23 14:50 | DrKnS | Status | new => closed |
2011-06-23 14:50 | DrKnS | Assigned To | => DrKnS |
2011-06-23 14:50 | DrKnS | Resolution | open => fixed |
2011-06-23 14:50 | DrKnS | Fixed in Version | => 3.0 |
2011-06-24 19:15 | Maximus | Note Added: 0007204 | |
2011-06-24 19:15 | Maximus | Status | closed => feedback |
2011-06-24 19:15 | Maximus | Resolution | fixed => reopened |
2011-06-24 19:17 | Maximus | File Added: 110624.diff | |
2011-06-24 19:33 | DrKnS | Build | 2076 => 2077 |
2011-06-24 19:33 | DrKnS | Status | feedback => closed |
2011-06-24 19:33 | DrKnS | Resolution | reopened => fixed |