+2003-03-29 John Levon <levon@movementarian.org>
+
+ * text2.C: do not clear selection after inc/decDepth
+ (bug 550)
+
2003-03-29 John Levon <levon@movementarian.org>
* BufferView.C:
2003-03-29 John Levon <levon@movementarian.org>
* BufferView.C:
redoParagraphs(selection.start, endpar);
redoParagraphs(selection.start, endpar);
- // we have to reset the selection, because the
+ // we have to reset visual the selection because the
// geometry could have changed
setCursor(selection.start.par(), selection.start.pos());
selection.cursor = cursor;
setCursor(selection.end.par(), selection.end.pos());
updateCounters();
// geometry could have changed
setCursor(selection.start.par(), selection.start.pos());
selection.cursor = cursor;
setCursor(selection.end.par(), selection.end.pos());
updateCounters();
setSelection();
setCursor(tmpcursor.par(), tmpcursor.pos());
}
setSelection();
setCursor(tmpcursor.par(), tmpcursor.pos());
}
redoParagraphs(selection.start, endpar);
redoParagraphs(selection.start, endpar);
- // we have to reset the selection, because the
+ // we have to reset the visual selection because the
// geometry could have changed
// geometry could have changed
- setCursor(selection.start.par(),
- selection.start.pos());
+ setCursor(selection.start.par(), selection.start.pos());
selection.cursor = cursor;
setCursor(selection.end.par(), selection.end.pos());
updateCounters();
selection.cursor = cursor;
setCursor(selection.end.par(), selection.end.pos());
updateCounters();
setSelection();
setCursor(tmpcursor.par(), tmpcursor.pos());
}
setSelection();
setCursor(tmpcursor.par(), tmpcursor.pos());
}