Summary: | crash when pressing enter inside a doxygen comment block | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Andreas Pakulat <apaku> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | esigra, tdhutt, tim.taylor |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andreas Pakulat
2006-08-06 02:22:39 UTC
SVN commit 570246 by kling: Fixed another stringAtPos(-1) call (known & hated signedness issue) BUG: 131933 M +1 -1 kateautoindent.cpp --- branches/KDE/3.5/kdelibs/kate/part/kateautoindent.cpp #570245:570246 @@ -1494,7 +1494,7 @@ bool doxygenAutoInsert = doc->config()->configFlags() & KateDocumentConfig::cfDoxygenAutoTyping; // starts with *: indent one space more to line up *s - if ( textLine->stringAtPos(first, "*") ) + if ( first > 0 && textLine->stringAtPos(first, "*") ) indent = indent + " "; // does not start with *: insert one if user wants that else if ( doxygenAutoInsert ) *** Bug 132835 has been marked as a duplicate of this bug. *** *** Bug 140674 has been marked as a duplicate of this bug. *** |