mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
* BufferView.cpp: style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31181 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1c2d2f8fa4
commit
e042119cbe
@ -942,7 +942,7 @@ bool BufferView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
|
|||||||
case LFUN_REGEXP_MODE: {
|
case LFUN_REGEXP_MODE: {
|
||||||
bool const embedded_workarea = buffer().isUnnamed()
|
bool const embedded_workarea = buffer().isUnnamed()
|
||||||
&& buffer().fileName().extension() == "internal";
|
&& buffer().fileName().extension() == "internal";
|
||||||
flag.setEnabled(embedded_workarea && ! this->cursor().inRegexped());
|
flag.setEnabled(embedded_workarea && !cur.inRegexped());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user