summaryrefslogtreecommitdiff
path: root/src/Fl_Help_View.cxx
AgeCommit message (Collapse)Author
2025-11-21Fix a few more warnings by Clang.Matthias Melcher
- Apple Clang 17.0.0. - png, z, jpeg lib integer cast warnings remain - FLTK callback function cast warnings remain.
2025-07-08#1114: Ensure minimum height of last block in Fl_Help_ViewMatthias Melcher
2025-07-07Fl_Help_View: Subclassing minor comment chagesMatthias Melcher
2025-07-07Add missing and remove unnecessary #include statementsAlbrecht Schlosser
Note: if user code requires a header, then user code must #include it.
2025-07-05Fl_Help_View: Revert some changesMatthias Melcher
2025-07-05Fl_Help_View: Thin out header fileMatthias Melcher
- remove unnecessary include.
2025-07-05Fl_Help_View: Refactor to use PIMPLMatthias Melcher
- using a Pointer to Implementation instead of having a huge Fl_Help_View class. This improves build speed (smaller header fiel) and allows us to fix the implementation while keeping the ABI unchanged.
2025-07-05Fl_Help_View: Fix writing into empty std::stringMatthias Melcher
2025-07-05Fl_Help_View: Improve commentMatthias Melcher
2025-07-05Fl_Help_View: Finl formatting and documentationMatthias Melcher
- restructure header file - sort source file reflecting header - documentation of text selection
2025-07-05Fl_Help_View: Improve selectionMatthias Melcher
- users can now select text in multiple Help Views - users can now select text that is also a link - selections draws dimmed if not focused
2025-07-04Fl_Help_View: Changes some more formattingMatthias Melcher
- streamlines callbacks - removes unused function - header file not finished yet!
2025-07-03Fl_Help_View: Refactoring static sizesMatthias Melcher
- replaced Fl_Int_Vector with std::vector<int> - removed static buffers in path arrangement methods - NULL to nullptr
2025-07-03Fl_Help_View: Improve formatting and Doxygen commentsMatthias Melcher
2025-07-03Fl_Help_View: Refactor more strings and dynamic lists.Matthias Melcher
2025-07-02Fl_Help_View: Reformat and commentsMatthias Melcher
2025-07-02Fl_Help_View: Refactor Fl_Help_Link to C++11Matthias Melcher
2025-07-02Help_View: Improve target line managementMatthias Melcher
2025-03-07Removes the remaining references to Fl_String.Matthias Melcher
Still to do: rename fl_filename... to fl_filename..._str and introduce into core library.
2025-02-05Fix typos and trailing whitespaceAlbrecht Schlosser
Also replace 'MSWindows' with 'Windows' where appropriate, leaving only old documents like README files from 1.3 and older as-is.
2025-02-01Fix potential buffer overflow in Fl_Help_View (#1196)Albrecht Schlosser
2024-12-19Fix compiler warning [-Wsign-compare]Albrecht Schlosser
2024-12-16Fix Help View find method (#1119)Matthias Melcher
The search function now skips '<...>' blocks more reliably and also finds Unicode HTML entities and UTF-8 encoded characters.
2024-11-24Fix compiler warning (g++ 14) [-Wstringop-overflow]Albrecht Schlosser
New compiler warning detected by g++ 14.2.0 building with CMake in Release mode. This *temporary* fix suppresses the warning but uses even larger fixed size buffers. Todo: these nasty warnings caused by using fixed buffer sizes should be removed by using std::string in FLTK 1.5.0.
2024-07-29Add RMB pulldown menu to Fl_Help_View, #75Matthias Melcher
- append underscores to private varaibles per CMP - add public Fl_Help_View::copy() and Fl_Help_View::text_selected() - add public Fl_Help_View::copy_menu_text - fixes some of the focus handling - add pulldown menu to copy selected text
2023-12-18Fix issue #871 for html causing crashesGreg Ercolano
2023-11-26Restores mouse pointer before popping up cut/copy/paste menuMatthias Melcher
on Fl_Input and Fl_Text_Display Also adds &ndash; to Help View
2023-10-22Make Fl_String and Fl_Int_Vector private (#789)Albrecht Schlosser
- add CMake option 'OPTION_USE_STD' - add configure option '--enable-use_std' - move FL/Fl_String.H to src/Fl_String.H - move FL/Fl_Int_Vector.H to src/Fl_Int_Vector.H - remove Fl_String from demo program examples/callbacks.cxx - remove Fl_Int_Vector from public header FL/Fl_Table.H - some methods of Fl_Table are no longer inline - add CMake option OPTION_USE_STD to allow std::string in some selected functions and methods Experimental, may be removed before release: - use either Fl_Int_Vector or std::vector in Fl_Table depending on CMake OPTION_USE_STD or configure --enable-use_std Move all fl_filename* functions that use Fl_String to fluid Main changes in fluid: - add fluid_filename.h and .cxx - include "fluid_filename.h" rather than <FL/filename.H> Update fl_input(), fl_password() and test/ask - add maxchar parameter to fl_input() and fl_password() - fl_input_str() and fl_password_str() are optional and return std::string if enabled (FLTK_USE_STD)
2023-02-24Derive internal Fl_Help_View buffer from Fl_StringAlbrecht Schlosser
Refactor the internal class HV_Edit_Buffer by deriving it from the the recently extended Fl_String class. The class HV_Edit_Buffer still needs some "special" methods but the code could be simplified substantially.
2023-01-05Add close buttons for individual tabs in Fl_Tabs (#628)Matthias Melcher
Add close buttons for Fl_Tabs Introducing callback reasons FLUID shows all FL_WHEN_... options Adding Fl_Tabs overflow types Improved test/tabs to show new features
2023-01-01FLUID refactor and macOS warnings removed (#623)Matthias Melcher
P renamed to g_project class Project renamed to class Fluid_Project fixes macOS type cast warnings
2022-11-06Fix Fl_Help_View <OL> numbers (Issue #153, STR 3290)Albrecht Schlosser
Started with @wcout's patch (see Issue #153, STR 3290), modified patch for CMP conformance, restructured methods, and finally: - used Fl_Int_Vector instead of 'fl_data_container' - removed fl_data_container Thanks for the working patch to @wcout.
2022-01-16Rename FL/fl_string.h to FL/fl_string_functions.hAlbrecht Schlosser
This is part 1 of the final fix for a previous name clash on case insensitive file systems (fl_string.h vs. Fl_String.H).
2021-02-13Remove compilation warnings issued by Visual Studio 2019.ManoloFLTK
2021-01-08Fix Fl_Help_View::find() (issue #179)Albrecht Schlosser
Fix search (string comparison) which had a few different issues. Document the function, arguments, and details about string matching. To do: correctly match complex HTML entities like "&euro;" with Unicode code points >= U+0080 (UTF-8 multi byte encoding).
2020-08-01Implement + deploy fl_strdup()Greg Ercolano
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-07-01Update doc of Fl_Help_View following addition of html entity &dagger;ManoloFLTK
2020-07-01Add "&dagger;" HTML entity.ManoloFLTK
2019-08-29Fix remaining compiler warnings of (STR 3529)Albrecht Schlosser
src/Fl_File_Chooser2.cxx src/Fl_File_Icon2.cxx src/Fl_Help_View.cxx The only known warnings are now in src/Fl_x.cxx as mentioned in comment #1.
2019-02-05Fixed two warnings from Doxygen.Matthias Melcher
2019-01-30STR 3430: fixed Help_View return valueMatthias Melcher
2018-01-31Replace FL/x.H with FL/platform.H - step 2 (STR #3435).Albrecht Schlosser
This second step replaces FL/x.H with FL/platform.H in all source files. Dependencies have been adjusted as well. This commit completes the replacement of FL/x.H with FL/platform.H. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-08-18Remove unnecessary #include files from Fl_Help_View.HAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-23Bringing over fix [r11844] from 1.3 current to the porting branch.Greg Ercolano
Fixes STR #3270; when an image is used as a link, this mod synchronizes the link's hot spot with the image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-03Fix for positionning of text after <HR> directive (part of STR #3227).Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31Hopefully final fix of HTML entity handlingAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31Polishing conversions between char- and int-typed variables.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-22Fix compiler warnings.Albrecht Schlosser
FL/platform_types.h: C++ style comments are not allowed in ISO C90. src/Fl_Help_View.cxx: type qualifiers ignored on function return type. src/Fl_Image_Surface.cxx: (Linux) converting to non-pointer type ‘long unsigned int’ from NULL [-Wconversion-null] Line #70: In member function ‘Fl_Offscreen Fl_Image_Surface::offscreen()’ git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-19Fix handing of html entities in copied text by Fl_Help_View widget.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121