X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView.C;h=2935ba27dc66b00f6686c0bb0a509387ba58cfd2;hb=286a8e2676d6fb8d289a42e5aa7401334da807e6;hp=7193ced711bac1f3e980acf838c401c56da681e4;hpb=1278f826c9ac550f060853af781b141a61f1c112;p=lyx.git diff --git a/src/BufferView.C b/src/BufferView.C index 7193ced711..2935ba27dc 100644 --- a/src/BufferView.C +++ b/src/BufferView.C @@ -653,7 +653,11 @@ FuncStatus BufferView::getStatus(FuncRequest const & cmd) case LFUN_CHANGE_NEXT: case LFUN_ALL_CHANGES_ACCEPT: case LFUN_ALL_CHANGES_REJECT: - flag.enabled(buffer_); // FIXME: Change tracking (MG) + // TODO: context-sensitive enabling of LFUNs + // In principle, these command should only be enabled if there + // is a change in the document. However, without proper + // optimizations, this will inevitably result in poor performance. + flag.enabled(buffer_); break; case LFUN_BUFFER_TOGGLE_COMPRESSION: {