* ======================================================
*
* LyX, The Document Processor
* ======================================================
*
* LyX, The Document Processor
* Copyright 1997 LyX Team (this file was created this year)
*
* ====================================================== */
* Copyright 1997 LyX Team (this file was created this year)
*
* ====================================================== */
///
Inset::Code lyxCode() const { return Inset::INCLUDE_CODE; }
/// This returns the list of labels on the child buffer
///
Inset::Code lyxCode() const { return Inset::INCLUDE_CODE; }
/// This returns the list of labels on the child buffer
/// This returns the list of bibkeys on the child buffer
std::vector< std::pair<string,string> > const getKeys() const;
///
/// This returns the list of bibkeys on the child buffer
std::vector< std::pair<string,string> > const getKeys() const;
///
- void edit(BufferView *, int x, int y, unsigned int button);
+ void edit(BufferView *, int x, int y, mouse_button::state button);
+ ///
+ void edit(BufferView * bv, bool front = true);
- /// With lyx3 we won't overload these 3 methods
- void write(Buffer const *, std::ostream &) const;
- ///
+ /// With lyx3 we won't overload these 3 methods
+ void write(Buffer const *, std::ostream &) const;
+ ///
void read(Buffer const *, LyXLex &);
///
int latex(Buffer const *, std::ostream &,
void read(Buffer const *, LyXLex &);
///
int latex(Buffer const *, std::ostream &,
/// return true if the included file is not loaded
bool isIncludeOnly() const;
/// return true if the file is or got loaded.
bool loadIfNeeded() const;
/// return true if the included file is not loaded
bool isIncludeOnly() const;
/// return true if the file is or got loaded.
bool loadIfNeeded() const;
- /// get the filename of the master buffer
- string const getMasterFilename() const;
- /// get the included file name
- string const getFileName() const;
+ /// get the filename of the master buffer
+ string const getMasterFilename() const;
+ /// get the included file name
+ string const getFileName() const;