mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 14:04:25 +00:00
Partition lines in matrices: UI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9607 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d20ac26754
commit
07362230de
@ -1,3 +1,8 @@
|
|||||||
|
2005-02-09 Martin Vermeer <martin.vermeer@hut.fi>
|
||||||
|
|
||||||
|
* ui/stdmenus.ui: add facilities for drawing/deleting partition
|
||||||
|
lines in matrix
|
||||||
|
|
||||||
2005-02-08 Mike Ressler <mike.ressler@alum.mit.edu>
|
2005-02-08 Mike Ressler <mike.ressler@alum.mit.edu>
|
||||||
|
|
||||||
* layouts/aastex.layout: Updated for AASTeX 5.2
|
* layouts/aastex.layout: Updated for AASTeX 5.2
|
||||||
|
@ -158,11 +158,15 @@ Menuset
|
|||||||
Item "Delete Row|D" "tabular-feature delete-row"
|
Item "Delete Row|D" "tabular-feature delete-row"
|
||||||
Item "Copy Row" "tabular-feature copy-row"
|
Item "Copy Row" "tabular-feature copy-row"
|
||||||
Item "Swap Rows" "tabular-feature swap-row"
|
Item "Swap Rows" "tabular-feature swap-row"
|
||||||
|
Item "Add Line Above" "tabular-feature add-hline-above"
|
||||||
|
Item "Delete Line Above" "tabular-feature delete-hline-above"
|
||||||
Separator
|
Separator
|
||||||
Item "Add Column|C" "tabular-feature append-column"
|
Item "Add Column|C" "tabular-feature append-column"
|
||||||
Item "Delete Column|e" "tabular-feature delete-column"
|
Item "Delete Column|e" "tabular-feature delete-column"
|
||||||
Item "Copy Column" "tabular-feature copy-column"
|
Item "Copy Column" "tabular-feature copy-column"
|
||||||
Item "Swap Columns" "tabular-feature swap-column"
|
Item "Swap Columns" "tabular-feature swap-column"
|
||||||
|
Item "Add Line to Left" "tabular-feature add-vline-left"
|
||||||
|
Item "Delete Line to Left" "tabular-feature delete-vline-left"
|
||||||
End
|
End
|
||||||
|
|
||||||
Menu "edit_math_limits"
|
Menu "edit_math_limits"
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<<<<<<< ChangeLog
|
||||||
|
2005-02-09 Martin Vermeer <martin.vermeer@hut.fi>
|
||||||
|
|
||||||
|
* math_gridinset.[hC]: add facilities for drawing/deleting partition
|
||||||
|
lines in matrix.
|
||||||
|
|
||||||
2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
|
2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
|
||||||
|
|
||||||
* math_data.C (isInside): size() -> depth()
|
* math_data.C (isInside): size() -> depth()
|
||||||
|
@ -1100,6 +1100,10 @@ void MathGridInset::doDispatch(LCursor & cur, FuncRequest & cmd)
|
|||||||
copyRow(cur.row());
|
copyRow(cur.row());
|
||||||
else if (s == "swap-row")
|
else if (s == "swap-row")
|
||||||
swapRow(cur.row());
|
swapRow(cur.row());
|
||||||
|
else if (s == "add-hline-above")
|
||||||
|
rowinfo_[cur.row()].lines_++;
|
||||||
|
else if (s == "delete-hline-above")
|
||||||
|
rowinfo_[cur.row()].lines_ = 0;
|
||||||
else if (s == "append-column")
|
else if (s == "append-column")
|
||||||
for (int i = 0, n = extractInt(is); i < n; ++i) {
|
for (int i = 0, n = extractInt(is); i < n; ++i) {
|
||||||
row_type r = cur.row();
|
row_type r = cur.row();
|
||||||
@ -1120,6 +1124,10 @@ void MathGridInset::doDispatch(LCursor & cur, FuncRequest & cmd)
|
|||||||
copyCol(col(cur.idx()));
|
copyCol(col(cur.idx()));
|
||||||
else if (s == "swap-column")
|
else if (s == "swap-column")
|
||||||
swapCol(col(cur.idx()));
|
swapCol(col(cur.idx()));
|
||||||
|
else if (s == "add-vline-left")
|
||||||
|
colinfo_[col(cur.idx())].lines_++;
|
||||||
|
else if (s == "delete-vline-left")
|
||||||
|
colinfo_[col(cur.idx())].lines_ = 0;
|
||||||
else {
|
else {
|
||||||
cur.undispatched();
|
cur.undispatched();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user