mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
fix comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16416 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
88a6d1a918
commit
f94d42f72c
@ -30,7 +30,6 @@ namespace lyx {
|
|||||||
|
|
||||||
class Buffer;
|
class Buffer;
|
||||||
class BufferParams;
|
class BufferParams;
|
||||||
class BufferView;
|
|
||||||
class Counters;
|
class Counters;
|
||||||
class InsetBase;
|
class InsetBase;
|
||||||
class InsetBibitem;
|
class InsetBibitem;
|
||||||
@ -186,7 +185,7 @@ public:
|
|||||||
std::string getID(Buffer const & buf,
|
std::string getID(Buffer const & buf,
|
||||||
OutputParams const & runparams) const;
|
OutputParams const & runparams) const;
|
||||||
|
|
||||||
// Get the first word of a paragraph, return the position where it left
|
/// Get the first word of a paragraph, return the position where it left
|
||||||
pos_type getFirstWord(Buffer const & buf,
|
pos_type getFirstWord(Buffer const & buf,
|
||||||
odocstream & os,
|
odocstream & os,
|
||||||
OutputParams const & runparams) const;
|
OutputParams const & runparams) const;
|
||||||
@ -325,8 +324,7 @@ public:
|
|||||||
* The font returned by the above functions is the same in a
|
* The font returned by the above functions is the same in a
|
||||||
* span of characters. This method will return the first and
|
* span of characters. This method will return the first and
|
||||||
* the last positions in the paragraph for which that font is
|
* the last positions in the paragraph for which that font is
|
||||||
* the same. This can be used to avoid unnecessary calls to
|
* the same. This can be used to avoid unnecessary calls to getFont.
|
||||||
* getFont.
|
|
||||||
*/
|
*/
|
||||||
FontSpan fontSpan(pos_type pos) const;
|
FontSpan fontSpan(pos_type pos) const;
|
||||||
///
|
///
|
||||||
@ -382,8 +380,8 @@ public:
|
|||||||
bool isSeparator(pos_type pos) const { return getChar(pos) == ' '; }
|
bool isSeparator(pos_type pos) const { return getChar(pos) == ' '; }
|
||||||
///
|
///
|
||||||
bool isLineSeparator(pos_type pos) const;
|
bool isLineSeparator(pos_type pos) const;
|
||||||
/// True if the character/inset at this point can be part of a word
|
/// True if the character/inset at this point can be part of a word.
|
||||||
// Note that digits in particular are considered as letters
|
/// Note that digits in particular are considered as letters
|
||||||
bool isLetter(pos_type pos) const;
|
bool isLetter(pos_type pos) const;
|
||||||
|
|
||||||
/// returns -1 if inset not found
|
/// returns -1 if inset not found
|
||||||
|
Loading…
Reference in New Issue
Block a user