mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Reposition these BufferView access and caching methods, make 'em virtual
and give 'em defaults. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6222 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
546e14eb16
commit
12b3e1818e
@ -1,4 +1,7 @@
|
||||
2003-02-21 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* updatableinset.h (setView, view): remove.
|
||||
* inset.h (view, cache): to be replaced by these.
|
||||
|
||||
* insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
|
||||
insetbibtex.[Ch]:
|
||||
|
@ -337,7 +337,10 @@ public:
|
||||
* defaults to empty.
|
||||
*/
|
||||
virtual void generatePreview() const {}
|
||||
|
||||
///
|
||||
virtual void cache(BufferView *) const {}
|
||||
///
|
||||
virtual BufferView * view() const { return 0; }
|
||||
|
||||
protected:
|
||||
///
|
||||
|
@ -142,12 +142,6 @@ public:
|
||||
virtual bool searchBackward(BufferView *, string const &,
|
||||
bool = true, bool = false);
|
||||
|
||||
|
||||
///
|
||||
BufferView * view() const;
|
||||
///
|
||||
void setView(BufferView * bv) const;
|
||||
|
||||
protected:
|
||||
///
|
||||
void toggleCursorVisible() const {
|
||||
|
Loading…
Reference in New Issue
Block a user