|
[Bug 81005] [PATCH] Corresponding parenthesis does not get colorized: msg#00248kde.devel.kwrite
------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=81005 ------- Additional Comments From anders alweb dk 2004-09-28 09:34 ------- CVS commit by alund: Backport fix for #81005 CCMAIL: 81005 bugs kde org M +5 -5 katedocument.cpp 1.734.2.8 --- kdelibs/kate/part/katedocument.cpp #1.734.2.7:1.734.2.8 @ -4188,7 +4188,7 @ inline bool isBracket ( const QChar& Bracket matching uses the following algorithm: If in overwrite mode, match the bracket currently underneath the cursor. - Otherwise, if the character to the left of the cursor is an ending bracket, - match it. Otherwise if the character to the right of the cursor is a - starting bracket, match it. Otherwise, if the the character to the left + Otherwise, if the character to the right of the cursor is an starting bracket, + match it. Otherwise if the character to the left of the cursor is a + ending bracket, match it. Otherwise, if the the character to the left of the cursor is an starting bracket, match it. Otherwise, if the character to the right of the cursor is an ending bracket, match it. Otherwise, don't @ -4223,9 +4223,9 @ bool KateDocument::findMatchingBracket( return false; } + } else if ( isStartBracket( right ) ) { + bracket = right; } else if ( isEndBracket( left ) ) { start.setCol(start.col() - 1); bracket = left; - } else if ( isStartBracket( right ) ) { - bracket = right; } else if ( isBracket( left ) ) { start.setCol(start.col() - 1); |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [Bug 81005] [PATCH] Corresponding parenthesis does not get colorized: 00248, Anders Lund |
|---|---|
| Next by Date: | [Bug 87849] Symlinks are opened twice: 00248, Anders Lund |
| Previous by Thread: | [Bug 81005] [PATCH] Corresponding parenthesis does not get colorizedi: 00248, Anders Lund |
| Next by Thread: | [Bug 87849] Symlinks are opened twice: 00248, Anders Lund |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |