git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9800 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2005-04-10 14:08:54 +00:00
parent d5d5562e02
commit 6b9b2cec6a
4 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
* math_deliminset.Ci (isParenthesis):
* math_extern.C: Spelling
2005-04-09 Martin Vermeer <martin.vermeer@hut.fi> 2005-04-09 Martin Vermeer <martin.vermeer@hut.fi>
* math_gridinset.C (doDispatch): * math_gridinset.C (doDispatch):

View File

@ -115,7 +115,7 @@ void MathDelimInset::draw(PainterInfo & pi, int x, int y) const
} }
bool MathDelimInset::isParanthesis() const bool MathDelimInset::isParenthesis() const
{ {
return left_ == "(" && right_ == ")"; return left_ == "(" && right_ == ")";
} }

View File

@ -30,7 +30,7 @@ public:
/// ///
MathDelimInset const * asDelimInset() const { return this; } MathDelimInset const * asDelimInset() const { return this; }
/// is it (...)? /// is it (...)?
bool isParanthesis() const; bool isParenthesis() const;
/// is it [...]? /// is it [...]?
bool isBrackets() const; bool isBrackets() const;
/// is it |...|? /// is it |...|?

View File

@ -393,13 +393,13 @@ void extractNumbers(MathArray & ar)
// search deliminiters // search deliminiters
// //
bool testOpenParan(MathAtom const & at) bool testOpenParen(MathAtom const & at)
{ {
return testString(at, "("); return testString(at, "(");
} }
bool testCloseParan(MathAtom const & at) bool testCloseParen(MathAtom const & at)
{ {
return testString(at, ")"); return testString(at, ")");
} }
@ -415,7 +415,7 @@ MathAtom replaceDelims(const MathArray & ar)
void extractDelims(MathArray & ar) void extractDelims(MathArray & ar)
{ {
//lyxerr << "\nDelims from: " << ar << endl; //lyxerr << "\nDelims from: " << ar << endl;
replaceNested(ar, testOpenParan, testCloseParan, replaceDelims); replaceNested(ar, testOpenParen, testCloseParen, replaceDelims);
//lyxerr << "\nDelims to: " << ar << endl; //lyxerr << "\nDelims to: " << ar << endl;
} }