From 367f908d8ed5a3464b9676223a26ddf4e11bdb5b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 7 Jan 1999 16:36:11 +0000 Subject: "Final" changes for first draft of 1.0 documentation. git-svn-id: file:///fltk/svn/fltk/trunk@187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/editor.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'documentation/editor.html') diff --git a/documentation/editor.html b/documentation/editor.html index 60dca040c..5c31a16e7 100644 --- a/documentation/editor.html +++ b/documentation/editor.html @@ -1,7 +1,7 @@ -

4 - Designing a Simple Text Editor

+

4 - Designing a Simple Text Editor

This chapter takes you through the design of a simple FLTK-based text editor. @@ -295,7 +295,7 @@ We call the load_file() function to actually load the file.

paste_cb()

This callback function will send a FL_PASTE message to the input -widget using the Fl::paste() method: +widget using the Fl::paste() method: When loading the file we use the -input->replace() method to "replace" the text at the end of +input->replace() method to "replace" the text at the end of the buffer. The pos variable keeps track of the end of the buffer. -- cgit v1.2.3