FLTK logo

STR #2953

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #2953

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:Add append() method to Fl_Multiline_Output and friends
Version:1.3-feature
Created By:greg.ercolano
Assigned To:matt
Fix Version:1.4.0
Fix Commit:30733d2d8d435b3e77a51a53b128cb5813becf0f
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 greg.ercolano
00:21 Apr 18, 2013
Seems odd that Fl_Multiline_Output and Fl_Multiline_Input
don't have an append() method.

insert(string) is not quite the same, such as if the user has
moved the cursor, but the app wants to append().

Adding this method to Fl_Input_ would effectively add it to the
above two classes, where its absence is felt the most.

I think this method could simply be:

    void append(const char s) {
        position(size_); // position cursor at end of text
        insert(s);       // insert text at end
    }
 
 
#2 ianmacarthur
15:44 Sep 04, 2014
I can't see a downside to this; should we just do this and close this STR?  
 
#3 matt
13:05 Feb 02, 2019
Fixed in Git repository.  
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.