On 7 Aug 2000, Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
[...]
> | void BufferView::Pimpl::restorePosition()
> | {
> | if (backstack.empty()) return;
> |
> | int x, y;
> - string fname = backstack.pop(&x, &y);
> + string fname(backstack.pop(&x,
Angus Leeming <[EMAIL PROTECTED]> writes:
| Lars,
| The code extract below works for me.
| Are you happy with this? Is it permissible to use "current_view"?
No! Hey you are doing this from inside the current_view so why should
you need to reference it? And since you are inside the
BufferView::P
Lars,
The code extract below works for me.
Are you happy with this? Is it permissible to use "current_view"?
Angus
extern BufferView * current_view;
void BufferView::Pimpl::restorePosition()
{
if (backstack.empty()) return;
int x, y;
string fname = backstack.po
Lars> Did my above comments help?
Yes. I'll try out your suggestion.
Angus
Angus Leeming <[EMAIL PROTECTED]> writes:
| {
| if (backstack.empty()) return;
|
| int x, y;
| string fname = backstack.pop(&x, &y);
|
| beforeChange();
+ bool exist = bufferlist.exists(fname);
- Buffer * b = bufferlist.exists(fname) ?
+ B
I have a question for those that know:
in my new GUIIndependent (xforms implementation) InsetRef dialog (that is the
new "big" dialog with browser), I can go to the reference and go back. Well and
good.
I go back by calling LxXFunc::Dispatch( LFUN_REF_BACK ), which in turn
calls BufferView::Pim