From ac18bf760907d148490594a1a38dfa311978fcef Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 17 May 2007 15:52:15 +0000 Subject: Replaced '>' with '>' in the documentation where appropriate (STR# 1682, 1684, 1685) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5838 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/editor.html | 90 +++++++++++++++++++++++------------------------ 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'documentation/editor.html') diff --git a/documentation/editor.html b/documentation/editor.html index 587c4cda6..c2dc39ad3 100644 --- a/documentation/editor.html +++ b/documentation/editor.html @@ -123,22 +123,22 @@ m->copy(menuitems); widget to edit the text:

So that we can keep track of changes to the file, we also want to add a "modify" callback:

Finally, we want to use a mono-spaced font like FL_COURIER:

The Replace Dialog

@@ -181,7 +181,7 @@ void changed_cb(int, int nInserted, int nDeleted,int, const char*, void* v) { if ((nInserted || nDeleted) && !loading) changed = 1; EditorWindow *w = (EditorWindow *)v; set_title(w); - if (loading) w->editor->show_insert_position(); + if (loading) w->editor->show_insert_position(); } @@ -199,7 +199,7 @@ to copy the currently selected text to the clipboard:

@@ -212,7 +212,7 @@ to cut the currently selected text to the clipboard:

@@ -224,7 +224,7 @@ to delete the currently selected text to the clipboard:

@@ -240,10 +240,10 @@ void find_cb(Fl_Widget* w, void* v) { EditorWindow* e = (EditorWindow*)v; const char *val; - val = fl_input("Search String:", e->search); + val = fl_input("Search String:", e->search); if (val != NULL) { // User entered a string - go find it! - strcpy(e->search, val); + strcpy(e->search, val); find2_cb(w, v); } @@ -257,21 +257,21 @@ search dialog: @@ -289,10 +289,10 @@ void new_cb(Fl_Widget*, void*) { if (!check_save()) return; filename[0] = '\0'; - textbuf->select(0, textbuf->length()); - textbuf->remove_selection(); + textbuf->select(0, textbuf->length()); + textbuf->remove_selection(); changed = 0; - textbuf->call_modify_callbacks(); + textbuf->call_modify_callbacks(); } @@ -323,7 +323,7 @@ to paste the clipboard at the current position:

@@ -569,7 +569,7 @@ void set_title(Fl_Window* w) { if (changed) strcat(title, " (modified)"); - w->label(title); + w->label(title); } @@ -587,9 +587,9 @@ int main(int argc, char **argv) { Fl_Window* window = new_view(); - window->show(1, argv); + window->show(1, argv); - if (argc > 1) load_file(argv[1], -1); + if (argc > 1) load_file(argv[1], -1); return Fl::run(); } @@ -642,7 +642,7 @@ size of the text that is drawn.

Styles are defined using the Fl_Text_Display::Style_Table_Entry structure -defined in <FL/Fl_Text_Display.H>: +defined in <FL/Fl_Text_Display.H>: