diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-07 16:36:11 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-07 16:36:11 +0000 |
| commit | 367f908d8ed5a3464b9676223a26ddf4e11bdb5b (patch) | |
| tree | 2b0ec583852973ccf7b9804957e78d474e0e7e5d /documentation/editor.html | |
| parent | 85e6f449590eeb6e09f7547733adf4c7137470d0 (diff) | |
"Final" changes for first draft of 1.0 documentation.
git-svn-id: file:///fltk/svn/fltk/trunk@187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/editor.html')
| -rw-r--r-- | documentation/editor.html | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ <HTML> <BODY> -<H1 ALIGN=RIGHT>4 - Designing a Simple Text Editor</H1> +<H1 ALIGN=RIGHT><A NAME="editor">4 - Designing a Simple Text Editor</A></H1> This chapter takes you through the design of a simple FLTK-based text editor. @@ -295,7 +295,7 @@ We call the <tt>load_file()</tt> function to actually load the file. <H3>paste_cb()</H3> This callback function will send a FL_PASTE message to the <tt>input</tt> -widget using the <a href="#paste"><tt>Fl::paste()</tt> method: +widget using the <a href="#paste"><tt>Fl::paste()</tt></a> method: <ul><pre> void paste_cb(void) { @@ -514,7 +514,7 @@ void load_file(char *newfile) { </pre></ul> When loading the file we use the <a href="#Fl_Input_.replace"> -<tt>input->replace()</tt> method to "replace" the text at the end of +<tt>input->replace()</tt></a> method to "replace" the text at the end of the buffer. The <tt>pos</tt> variable keeps track of the end of the buffer. |
