mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Whitespace & renaming
This commit is contained in:
parent
01e673635b
commit
589e780e15
@ -504,9 +504,9 @@ void BufferView::processUpdateFlags(Update::flags flags)
|
||||
// We handle this before FitCursor because the later will require
|
||||
// correct metrics at cursor position.
|
||||
if (!(flags & Update::ForceDraw)
|
||||
&& (flags & Update::SinglePar)
|
||||
&& !singleParUpdate())
|
||||
updateMetrics(flags);
|
||||
&& (flags & Update::SinglePar)
|
||||
&& !singleParUpdate())
|
||||
updateMetrics(flags);
|
||||
|
||||
// Then make sure that the screen contains the cursor if needed
|
||||
if (flags & Update::FitCursor) {
|
||||
|
@ -529,8 +529,8 @@ public:
|
||||
///
|
||||
virtual bool allowSpellCheck() const { return false; }
|
||||
|
||||
/// if this insets owns text cells (e.g. InsetText) return cell num
|
||||
virtual Text * getText(int /*num*/) const { return 0; }
|
||||
/// if this insets owns text cells (e.g. InsetText) return cell idx
|
||||
virtual Text * getText(int /*idx*/) const { return 0; }
|
||||
|
||||
/** Adds a LaTeX snippet to the Preview Loader for transformation
|
||||
* into a bitmap image. Does not start the loading process.
|
||||
|
@ -114,8 +114,8 @@ public:
|
||||
///
|
||||
void setFrameColor(ColorCode);
|
||||
///
|
||||
Text * getText(int i) const override {
|
||||
return (i == 0) ? const_cast<Text*>(&text_) : 0;
|
||||
Text * getText(int idx) const override {
|
||||
return (idx == 0) ? const_cast<Text*>(&text_) : nullptr;
|
||||
}
|
||||
///
|
||||
bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const override;
|
||||
|
Loading…
Reference in New Issue
Block a user