]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / lyxtext.h
index beb32a2da7a41a6e06109aa3ee8a74be4436973f..b8439b2d4b1ba3d4b8a9ac72f45e4debb523ceac 100644 (file)
@@ -75,6 +75,8 @@ public:
        ///
        UpdatableInset * the_locking_inset;
 
+       ///
+       int GetRealCursorX(BufferView *) const;
        ///
        LyXFont const GetFont(Buffer const *, LyXParagraph * par,
                        LyXParagraph::size_type pos) const;
@@ -233,7 +235,7 @@ public:
        /// need the selection cursor:
        void SetSelection(BufferView *);
        ///
-       void ClearSelection() const;
+       void ClearSelection(BufferView *) const;
        ///
        string const selectionAsString(Buffer const *) const;
        
@@ -391,21 +393,16 @@ public:
                          LyXAlignment align, 
                          string labelwidthstring,
                          bool noindent);
+#ifndef NO_PEXTRA
        ///
        void SetParagraphExtraOpt(BufferView *, int type,
                                  string const & width,
                                  string const & widthp,
                                  int alignment, bool hfill,
                                  bool start_minipage);
-
+#endif
        /* these things are for search and replace */
 
-       /** returns true if the specified string is at the specified
-         position
-         */
-       bool IsStringInText(LyXParagraph * par,
-                           LyXParagraph::size_type pos,
-                           string const & str) const;
        /** sets the selection over the number of characters of string,
          no check!!
          */
@@ -416,12 +413,6 @@ public:
          */
        void ReplaceSelectionWithString(BufferView *, string const & str);
 
-       /** if the string can be found: return true and set the cursor to
-         the new position */
-       bool SearchForward(BufferView *, string const & str) const;
-       ///
-       bool SearchBackward(BufferView *, string const & str) const;
-
        /// needed to insert the selection
        void InsertStringA(BufferView *, string const & str);
        /// needed to insert the selection