[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kate/part
From: Dominik Haumann <dhdev () gmx ! de>
Date: 2005-04-04 18:52:28
Message-ID: 20050404185228.123E3486 () office ! kde ! org
[Download RAW message or body]
CVS commit by dhaumann:
fix: if after the */ were spaces, a * was inserted in the next line.
M +5 -5 kateautoindent.cpp 1.62
--- kdelibs/kate/part/kateautoindent.cpp #1.61:1.62
@@ -550,5 +550,5 @@ bool KateCSmartIndent::handleDoxygen (Ka
if (textLine->attribute(first) == doxyCommentAttrib || \
textLine->attribute(textLine->lastChar()) == doxyCommentAttrib) {
- if (!textLine->endingWith("*/"))
+ if (!textLine->stringAtPos(textLine->lastChar()-1, "*/"))
insideDoxygen = true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic