mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6918 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
42320e7be3
commit
ef3b4f2936
@ -1,4 +1,8 @@
|
||||
|
||||
2003-05-02 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* math_arrayinset.[Ch]: add markers
|
||||
|
||||
2003-04-30 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* math_gridinset.C: fix transition to new Col/Row/CellInfo scheme
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
struct ColInfo
|
||||
{
|
||||
ColInfo() : rightline(0), leftline(false) {}
|
||||
ColInfo() : align('c'), rightline(0), leftline(false) {}
|
||||
char align; // column alignment
|
||||
string width; // column width
|
||||
int rightline; // a line on the right?
|
||||
|
@ -151,7 +151,8 @@ void MathGridInset::halign(string const & hh)
|
||||
for (string::const_iterator it = hh.begin(); it != hh.end(); ++it) {
|
||||
if (col == ncols())
|
||||
addCol(ncols() - 1);
|
||||
char c = *it;
|
||||
char const c = *it;
|
||||
lyxerr << "handle column separator: '" << c << "'\n";
|
||||
if (c == '|') {
|
||||
colinfo_[col].lines_++;
|
||||
} else if (c == 'c' || c == 'l' || c == 'r') {
|
||||
@ -163,13 +164,11 @@ void MathGridInset::halign(string const & hh)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
col_type n = hh.size();
|
||||
if (n > ncols())
|
||||
n = ncols();
|
||||
if (n >= ncols())
|
||||
n = ncols() - 1;
|
||||
for (col_type col = 0; col < n; ++col)
|
||||
colinfo_[col].align_ = hh[col];
|
||||
*/
|
||||
colinfo_[col].align = hh[col];
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user