Summary: | Clicking on a child tag in the Structure tabview will jump to it's parent | ||
---|---|---|---|
Product: | [Unmaintained] quanta | Reporter: | Mathieu Kooiman <zooi> |
Component: | general | Assignee: | András Manţia <amantia> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mathieu Kooiman
2004-02-16 09:27:55 UTC
CVS commit by amantia: Fix the "Clicking on a child tag in the Structure tabview will jump to it's parent" bug. CCMAIL: 75332-done@bugs.kde.org M +1 -0 ChangeLog 1.220 M +3 -1 treeviews/structtreeview.cpp 1.98 --- kdewebdev/quanta/ChangeLog #1.219:1.220 @@ -18,4 +18,5 @@ - don't crash when setting table/body/header/footer attributes for newly created tables [#74949] - make the spellchecker actually replace the wrongly spelled words [#75106] + - don't switch to the parent node when clicking on a node in the structure tree and Follow Cursor is enabled [#75332] - various parsing fixes - report bugs for "quanta" module, not for "quanta_be" --- kdewebdev/quanta/treeviews/structtreeview.cpp #1.97:1.98 @@ -396,9 +396,11 @@ void StructTreeView::slotGotoTag( QListV int el, ec; tag->endPos(el, ec); +/* kdDebug(24000) << "Node area: " << line << ", " << col << ", " << el << ", " << ec << endl; kdDebug(24000) << "Node type: " << tag->type << endl; kdDebug(24000) << "Node str: " << tag->tagStr() << endl; kdDebug(24000) << "Node cleanstr: " << tag->cleanStr << endl; - emit newCursorPosition( line, col); +*/ + emit newCursorPosition(line, col + 1); if (quantaApp->view()->writeExists()) quantaApp->view()->write()->view()->setFocus(); |