mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
* some more unused buffer parameters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23454 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cd63c1380b
commit
770b230704
@ -1812,7 +1812,7 @@ bool notifyCursorLeaves(Cursor const & old, Cursor & cur)
|
||||
&& !cur.buffer().isClean()
|
||||
&& cur.inTexted() && old.inTexted()
|
||||
&& cur.pit() != old.pit()) {
|
||||
old.paragraph().updateWords(old.buffer(), old.top());
|
||||
old.paragraph().updateWords(old.top());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -581,7 +581,7 @@ void Text::charInserted(Cursor & cur)
|
||||
&& !par.isLetter(cur.pos() - 1)) {
|
||||
// get the word in front of cursor
|
||||
BOOST_ASSERT(this == cur.text());
|
||||
cur.paragraph().updateWords(cur.buffer(), cur.top());
|
||||
cur.paragraph().updateWords(cur.top());
|
||||
}
|
||||
}
|
||||
|
||||
@ -1206,7 +1206,7 @@ bool Text::read(Buffer const & buf, Lexer & lex,
|
||||
// register the words in the global word list
|
||||
CursorSlice sl = CursorSlice(*insetPtr);
|
||||
sl.pit() = pars_.size() - 1;
|
||||
pars_.back().updateWords(buf, sl);
|
||||
pars_.back().updateWords(sl);
|
||||
} else if (token == "\\begin_deeper") {
|
||||
++depth;
|
||||
} else if (token == "\\end_deeper") {
|
||||
|
Loading…
Reference in New Issue
Block a user