mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 16:46:52 +08:00
More HTML fixed from Alexander.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -173,7 +173,7 @@ need to define our callback functions.</P>
|
||||
|
||||
<UL><PRE>
|
||||
void changed_cb(int, int nInserted, int nDeleted,int, const char*, void* v) {
|
||||
if ((nInserted || nDeleted) && !loading) changed = 1;
|
||||
if ((nInserted || nDeleted) && !loading) changed = 1;
|
||||
EditorWindow *w = (EditorWindow *)v;
|
||||
set_title(w);
|
||||
if (loading) w->editor->show_insert_position();
|
||||
@@ -259,7 +259,7 @@ void find2_cb(Fl_Widget* w, void* v) {
|
||||
}
|
||||
|
||||
int pos = e->editor->insert_position();
|
||||
int found = textbuf->search_forward(pos, e->search, &pos);
|
||||
int found = textbuf->search_forward(pos, e->search, &pos);
|
||||
if (found) {
|
||||
// Found a match; select and update the position...
|
||||
textbuf->select(pos, pos+strlen(e->search));
|
||||
@@ -330,7 +330,7 @@ from the program:
|
||||
|
||||
<UL><PRE>
|
||||
void quit_cb(Fl_Widget*, void*) {
|
||||
if (changed && !check_save())
|
||||
if (changed && !check_save())
|
||||
return;
|
||||
|
||||
exit(0);
|
||||
|
||||
Reference in New Issue
Block a user