string const name = cmd.getArg(0);
if (!buf)
enable = name == "aboutlyx"
- || name == "file"
- || name == "forks"
+ || name == "file" //FIXME: should be removed.
|| name == "prefs"
|| name == "texinfo";
else if (name == "print")
enable = cur.inset().lyxCode() != InsetBase::ERT_CODE;
else if (name == "latexlog")
enable = isFileReadable(FileName(buf->getLogName().second));
-#if !defined (USE_ASPELL) && !defined (USE_ISPELL) && !defined (USE_PSPELL)
else if (name == "spellchecker")
+#if defined (USE_ASPELL) || defined (USE_ISPELL) || defined (USE_PSPELL)
+ enable = !buf->isReadonly();
+#else
enable = false;
#endif
else if (name == "vclog")
enable = buf->lyxvc().inUse();
- else if (name == "view-source")
- enable = buf;
break;
}
+++ /dev/null
-This file lists interface changes that might affect users in
-1.4.0, and also some bug fixes.
-
-Interface changes
------------------
-
-Some of the LyX functions have changed names :
-
-tab-insert -> cell-split
-tab-backward -> cell-backward
-tab-forward -> cell-forward
-
-Additionally, tab-forward (bound to the "Tab" key normally) no
-longer has any effect in normal text.
-
-bibkey-insert -> bibitem-insert
-
-bibtex-insert -> dialog-show-new-inset bibtex
-citation-insert -> dialog-show-new-inset citation
-external-insert -> dialog-show-new-inset external
-graphics-insert -> dialog-show-new-inset graphics
-buffer-child-insert -> dialog-show-new-inset include
-reference-insert -> dialog-show-new-inset ref
-
-Add support for optional submenus (OptSubMenu) in ui files.
-
-It is now possible to run LyX without a Toolbar if so desired.
-
-These LyX functions have been removed entirely :
-
-apropos
-server-get-tip
-math-greek
-math-greek-toggle
-
-File format changes
--------------------
-
-Add \end_header.
-
-The UI (menu and toolbar) file has changed its Toolbar handling.
-The default.ui shipped file describes what the new format looks
-like.
-
-Bug fixes
----------
-
-lyx2lyx now handles development version files.
-Internal changes
-----------------
-
-Add change tracking.
-
-Load graphics images in a more asynchronous manner.
-
-Load graphics images in a serial fashion rather than (possibly) swamping the
-machine with multiple conversion processes executing in parallel.
-
-Remove much of the hard-coding of bibitem insets from the paragraph code.
-
-Add a localDispatch method to many more inset classes and use it. An important
-step in the clean-up of the current inset code and towards inset-unification.
-
-Add a real Label dialog rather than that nasty Alert thingy.
-
-Add Hfill and Newline insets.
-
-Clean-up the use of Alert to make the dialogs far more descriptive.
-
-Rewrite entirely the interface between LyX and its dialogs. Multiple showXYZ()
-methods replaced with a single show(<name>). Attempt to create new LFUNs
-so that the frontend dialogs do not actually change anything in the LyX core.
-Instead they dispatch these LFUNs back to the core for consideration by it.
-
-As a side effect of the above, redesign the implementation of the Model-
-Controller-View implementation of the dialogs to make it transparent.
-
-Move as much code as possible from the Menu frontends to the Backend.
-
-(xforms): replace the Combox code with a native xforms widget, for eventual
-inclusion in the xforms library itself.
-
-Add a basic Word Count feature.