summaryrefslogtreecommitdiff
path: root/FL/Fl_Text_Buffer.H
AgeCommit message (Collapse)Author
2010-04-05I humbly apologize for this commit, but I just could not bear it anymore. I ↵Matthias Melcher
moved all Doxygen comments from Fl_Text_Buffer.cxx into the header (I kept searching back and forth for the comments) and then did the unthinkable: I reformatted Fl_Text_Buffer.cxx! OMG. It is actually somewhat *readable* now. I shouldn't have done it! It's a mess ;-). Fl_Text_Buffer was modified many times to do things it was never designed to do. And looking at 'svn b;ame', I remember that I tried to quick-fix UTF-8 on top of that. Anyway, I'll dig into this now. I want 1.3.0 out of the door (end of ramble). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05Tearing my hairs out about terminology in utf-8Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05Starting to clean up and document Fl_Text_... to acheive UTF-8 support.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04UTF8: Fl_Text_Display and related:Fabien Costantini
+ Modified selection buffer access methods to return const Fl_Text_Selection pointers. Added a non const get method for the main selection buffer. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04UTF8: Fl_Text_Display and related:Fabien Costantini
+ Even more const constraints added to Fl_Text_Selection and Fl_Text_Buffer methods. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-03UTF8: Fl_Text_Display and related:Fabien Costantini
+ Added more const constraints to Fl_Text_Selection and Fl_Text_Buffer methods. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-03UTF8: Fl_Text_Display and related:Fabien Costantini
+ Made char * text() const., this method should be further checked for UTF8 compat. + Added a fixme comment to remember we must check for the potential incorrect assumption that that a buffer size equals the string length + 1. + Correct a protected attrib. typo as we don't need to care about ABI compat. for now. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01Added flexible gap size for text buffer (STR #2046)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01Changed the copyright to 2009 for header files. Still todo: src and test ↵Matthias Melcher
directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-15Doxygen pdf documentation: Changed pdf mime type to application/pdf. Removed ↵Fabien Costantini
all Widget class headers from file section as they already are in the class section, this saves many pages. Also disabled the referenced by/from systematic inserts for each functions as this is more a core developer documentation feature than a fltk user manual feature, also saves many pages. Didn't use the LATEX_COMPACT feature yet, not happy with its result, will comment it later. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-21More doxygen updates for Fl_Text_Buffer. Also changed some argumentAlbrecht Schlosser
names from "char *s" to "char *text" to be in sync with the docs. Caution: If there will be name conflicts with Fl_Text_buffer::text(), then this can at least be fixed easier, because searching for "text" is better than for "s". I remember that some argument names x,y,w,h have been changed to uppercase, because of conflicts with x(), etc. with ... valgrind (?) or maybe some compilers ? I did this deliberately, because changing the headers and doxygen docs to "s" instead of "text" appeared to be not feasible. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-18Doxygen documentation: Fixed most important warnings for the Fl_Widget, ↵Fabien Costantini
Fl_Window, Fl_Valuator classes that should be now a 100% documented. For the rest I drastically reduced the undocumented APIs, but many others (less important) remains. It looks and feels pretty good now :-) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16Doxygen documentation : took the opportunity to update copyright info as we ↵Fabien Costantini
modified already in batch almost all sources, added also a fil doxygen command to class headers to harmonize with original matt Fl_Widget dox. format. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15Doxygen documentation WP11 Done!Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6255 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-04Added a few missing methods for Fl_Text_BufferMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16Update source file headers with STR web page.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24Copyright updates.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11Copyright updates and prep for 1.1.5rc1.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30Copyright update for 1.1.3 release (not quite yet, but soon...)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-12Fixed missing undo bug in Fl_Text_Editor. Undo would be performed onMatthias Melcher
text buffer AND attribute buffer, which in turn confused the undo buffer. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-05Added 'Undo' to Fl_Text_Editor by reusing some of the Fl_Input_ code. I ↵Matthias Melcher
tried many cases and it seems to work fine. Matthias git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-20Apply patch from George Garvey to make Fl_Text_Display/Buffer based onMichael R Sweet
NEdit 5.3... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09More shadow variable changes...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-09Add color definitions for "dark red", etc.Michael R Sweet
Change "text" and "selecion" methods to return char *, not const char *, since they return a changeable copy of the text. Add range checking to style lookup in Fl_Text_Display. Add syntax hilighting to editor example. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-01Copyright updates...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-04Fl_Text* widgets backported to 1.1 (Carl, please confirm that I haven'tMichael R Sweet
goofed with the layout->resize conversion. Also check fix for mMaxSize being 0 so I set it to textsize()) contrast,inactive -> fl_contrast, fl_inactive, with defines for old names. fl_rect() and fl_rectf() with color args. fl_height, etc. with font,size args. Send FL_RELEASE and FL_DRAG events to the pushed() widget by default. Fix file chooser so it doesn't automatically change dirs if the only matching name is a dir. Updated Fl_Browser_ and Fl_Scrollbar for better mouse wheel support. Moved DLL definitions to new Fl_Export.H. Restore callback functionality in file chooser. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-01This commit was manufactured by cvs2svn to create branch 'branch-1.1'.No Author
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121