mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Hadn't see this empty_docstring() thing before. Very useful.
Add a comment to strfwd.h. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36355 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
67a4b590aa
commit
d764a97cf4
@ -193,7 +193,7 @@ public:
|
||||
/// returns the text to be used as tooltip
|
||||
/// \param prefix: a string that will preced the tooltip,
|
||||
/// e.g., "Index: ".
|
||||
docstring toolTipText(docstring prefix = from_ascii("")) const;
|
||||
docstring toolTipText(docstring prefix = empty_docstring()) const;
|
||||
|
||||
///
|
||||
virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
|
||||
|
@ -67,8 +67,10 @@ typedef std::basic_ostream<char_type, std::char_traits<char_type> > odocstream;
|
||||
extern odocstream & operator<<(odocstream &, char);
|
||||
#endif
|
||||
|
||||
// defined in lstrings.cpp
|
||||
docstring const & empty_docstring();
|
||||
std::string const & empty_string();
|
||||
// defined in docstring.cpp
|
||||
bool operator==(docstring const &, char const *);
|
||||
|
||||
} // namespace lyx
|
||||
|
Loading…
Reference in New Issue
Block a user