remove options from spellchecker

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4821 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-08-01 03:08:01 +00:00
parent 6d0158fe19
commit b1dd13a9c2
14 changed files with 20 additions and 64 deletions

View File

@ -1,3 +1,9 @@
2002-08-01 John Levon <levon@movementarian.org>
* Dialogs.h:
* Dialogs.C:
* guiapi.h: remove options from spell dialog
2002-07-30 John Levon <levon@movementarian.org>
* lyx_gui.h: add remove_read_callback()

View File

@ -243,12 +243,6 @@ void Dialogs::showSpellchecker()
}
void Dialogs::showSpellcheckerPreferences()
{
gui_ShowSpellcheckerPreferences(*dialogs_lyxview, *this);
}
void Dialogs::showTabular(InsetTabular * it)
{
gui_ShowTabular(it, *dialogs_lyxview, *this);

View File

@ -160,8 +160,6 @@ public:
void showSendto();
/// bring up the spellchecker
void showSpellchecker();
/// bring up the spellchecker tab in preferences
void showSpellcheckerPreferences();
///
void showTabular(InsetTabular *);
///

View File

@ -1,3 +1,8 @@
2002-08-01 John Levon <levon@movementarian.org>
* ControlSpellchecker.h:
* ControlSpellchecker.C: remove options
2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
* several files: strip,frontStrip -> trim,ltrim,rtrim

View File

@ -250,9 +250,3 @@ void ControlSpellchecker::clearParams()
result_ = SpellBase::ISP_OK;
speller_ = 0;
}
void ControlSpellchecker::options()
{
lv_.getDialogs()->showSpellcheckerPreferences();
}

View File

@ -47,9 +47,6 @@ public:
/// check text until next misspelled/unknown word
void check();
/// spell options
void options();
/// get suggestion
string getSuggestion();

View File

@ -51,7 +51,6 @@ extern "C" {
void gui_ShowSearch(LyXView & lv, Dialogs & d);
void gui_ShowSendto(LyXView & lv, Dialogs & d);
void gui_ShowSpellchecker(LyXView & lv, Dialogs & d);
void gui_ShowSpellcheckerPreferences(LyXView & lv, Dialogs & d);
void gui_ShowTabular(InsetTabular *, LyXView &, Dialogs &);
void gui_UpdateTabular(InsetTabular *, LyXView &, Dialogs &);
void gui_ShowTabularCreate(LyXView & lv, Dialogs & d);

View File

@ -432,12 +432,6 @@ extern "C" {
}
void gui_ShowSpellcheckerPreferences(LyXView & lv, Dialogs & d)
{
//formPreferencesSingleton.get(lv, d).showSpellPref();
}
void gui_ShowTabular(InsetTabular * it, LyXView & lv, Dialogs & d)
{
//formTabularSingleton.get(lv, d).showInset(it);

View File

@ -1,3 +1,10 @@
2002-08-01 John Levon <levon@movementarian.org>
* FormPreferences.h:
* FormPreferences.C:
* guiapi.C:
* forms/form_spellchecker.fd: remove options from spellchecker
2002-07-30 John Levon <levon@movementarian.org>
* lyx_gui.C: implement remove_read_callback()

View File

@ -121,14 +121,6 @@ FL_FORM * FormPreferences::form() const
}
void FormPreferences::showSpellPref()
{
show();
fl_set_folder(dialog_->tabfolder_prefs, lang_opts_tab_->form);
fl_set_folder(lang_opts_tab_->tabfolder_inner, spelloptions_.dialog()->form);
}
void FormPreferences::ok()
{
FormBaseDeprecated::ok();

View File

@ -51,7 +51,6 @@ struct FD_preferences_spelloptions;
class FormPreferences : public FormBaseBI {
public:
friend void gui_ShowPreferences(LyXView &, Dialogs &);
friend void gui_ShowSpellcheckerPreferences(LyXView &, Dialogs &);
///
FormPreferences(LyXView &, Dialogs &);
@ -63,8 +62,6 @@ private:
virtual void redraw();
/// Update the dialog.
virtual void update();
/// show the spellchecker tab
void showSpellPref();
/// Hide the dialog.
virtual void hide();
/// OK (Save) from dialog

View File

@ -82,9 +82,6 @@ ButtonPolicy::SMInput FormSpellchecker::input(FL_OBJECT * obj, long val)
} else if (obj == dialog_->button_insert) {
controller().insert();
} else if (obj == dialog_->button_options) {
controller().options();
} else if (obj == dialog_->browser) {
int const line = fl_get_browser(dialog_->browser);
string const tmp =

View File

@ -10,7 +10,7 @@ Unit of measure: FL_COORD_PIXEL
Name: form_spellchecker
Width: 540
Height: 280
Number of Objects: 15
Number of Objects: 14
--------------------
class: FL_BOX
@ -84,24 +84,6 @@ name: browser
callback: C_FormBaseInputCB
argument: 0
--------------------
class: FL_BUTTON
type: NORMAL_BUTTON
box: 310 210 220 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Spellchecker Options...|#O
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: button_options
callback: C_FormBaseInputCB
argument: 0
--------------------
class: FL_BUTTON
type: NORMAL_BUTTON
@ -177,7 +159,7 @@ argument: 0
--------------------
class: FL_BUTTON
type: NORMAL_BUTTON
box: 310 180 220 30
box: 310 200 220 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER

View File

@ -461,12 +461,6 @@ extern "C" {
}
void gui_ShowSpellcheckerPreferences(LyXView & lv, Dialogs & d)
{
formPreferencesSingleton.get(lv, d).showSpellPref();
}
void gui_ShowTabular(InsetTabular * it, LyXView & lv, Dialogs & d)
{
formTabularSingleton.get(lv, d).showInset(it);