]> git.lyx.org Git - lyx.git/commitdiff
* LyXView.C:
authorMichael Schmitt <michael.schmitt@teststep.org>
Thu, 18 Jan 2007 21:47:27 +0000 (21:47 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Thu, 18 Jan 2007 21:47:27 +0000 (21:47 +0000)
* qt4/GuiWorkArea.h:
* qt4/GuiWorkArea.C:
* WorkArea.h: fix typos: "shedule" => "schedule"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16755 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/LyXView.C
src/frontends/WorkArea.h
src/frontends/qt4/GuiWorkArea.C
src/frontends/qt4/GuiWorkArea.h

index e6ad20d284129b7e6780b24da1a72db8492cc7b9..8c6059bf75b9419b0055af0382edd4d3247ec4a4 100644 (file)
@@ -432,7 +432,7 @@ Buffer const * const LyXView::updateInset(InsetBase const * inset) const
        Buffer const * buffer_ptr = 0;
        if (inset) {
                BOOST_ASSERT(work_area_);
-               work_area_->sheduleRedraw();
+               work_area_->scheduleRedraw();
 
                buffer_ptr = work_area_->bufferView().buffer();
        }
index f53f221c316946005ed0ca0378e4d670c80d325a..bca23d19f98943ae86b3c53c6efc732bdb23c399 100644 (file)
@@ -83,7 +83,7 @@ public:
        virtual void setScrollbarParams(int height, int pos, int line_height) = 0;
 
        ///
-       virtual void sheduleRedraw() = 0;
+       virtual void scheduleRedraw() = 0;
 
        /// redraw the screen, without using existing pixmap
        virtual void redraw();
index 482ae69847172bce5b756054e149d834470126ef..10ccfe8b7853fe63216d14417543c8e4ad31b7dc 100644 (file)
@@ -159,7 +159,7 @@ SyntheticMouseEvent::SyntheticMouseEvent()
 
 
 GuiWorkArea::GuiWorkArea(int w, int h, int id, LyXView & lyx_view)
-       : WorkArea(id, lyx_view), need_resize_(false), shedule_redraw_(false)
+       : WorkArea(id, lyx_view), need_resize_(false), schedule_redraw_(false)
 {
        cursor_ = new frontend::CursorWidget();
        cursor_->hide();
@@ -535,13 +535,13 @@ void GuiWorkArea::updateScreen()
 
 void GuiWorkArea::showCursor(int x, int y, int h, CursorShape shape)
 {
-       if (shedule_redraw_) {
+       if (schedule_redraw_) {
                if (buffer_view_ && buffer_view_->buffer()) {
                        buffer_view_->update(Update::Force);
                        updateScreen();
                        viewport()->update(QRect(0, 0, viewport()->width(), viewport()->height()));
                }
-               shedule_redraw_ = false;
+               schedule_redraw_ = false;
                // Show the cursor immediately after the update.
                hideCursor();
                toggleCursor();
index d9b27611132966834856c52bb124cda97bf0bc04..a6e20961012b32490869da6240211f5e219b3d5a 100644 (file)
@@ -104,7 +104,7 @@ public:
        ///
        virtual void setScrollbarParams(int height, int pos, int line_height);
        ///
-       virtual void sheduleRedraw() { shedule_redraw_ = true; }
+       virtual void scheduleRedraw() { schedule_redraw_ = true; }
 
        /// update the passed area.
        void update(int x, int y, int w, int h);
@@ -174,7 +174,7 @@ private:
        ///
        bool need_resize_;
        ///
-       bool shedule_redraw_;
+       bool schedule_redraw_;
 };
 
 } // namespace frontend