Albrecht Schlosser
eede707852
Update fluid files and copyright.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11956 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-09-20 13:31:38 +00:00
Greg Ercolano
560e2d06ba
Bringing over fix [r11880] from 1.3 current to the porting branch.
...
Limit line numbering to New>Code editor.
(was affecting Properties->Callback and New>Code>Comment editors)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-30 06:00:57 +00:00
Greg Ercolano
5f445ab306
Bringing over fix [r11875] from 1.3 current to the porting branch.
...
Solves STR #3319 : enable line numbers in fluid: Edit -> Show Source Code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11877 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-08-16 20:23:51 +00:00
Albrecht Schlosser
020a96b4a8
Fix more compiler warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-05 21:15:45 +00:00
Albrecht Schlosser
d67e9ccb73
Fix compiler warnings (STR #2988 ) - final commit.
...
This commit includes all fixes from branch-1.3 (svn r 11243) and additional
fixes for warnings that crept in during the porting efforts, particularly
C++ ("//") comments in C and included header files, and some more.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27 17:27:21 +00:00
Matthias Melcher
c4b0a2f3bf
Tricking Fl_Text_Display into using bearable colors for CodeView in Fluid.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-04 15:06:30 +00:00
Matthias Melcher
326b64d278
STR #3184 : fixed code editor in Fluid to check the previous line for a block comment style in the last character. If so, the previous line is include in the calculation of the current line. This seems to fix issues when changing the block-comment character combination '*/' by deleting a character or adding one in the middle.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-04 11:17:38 +00:00
Greg Ercolano
889a8a6d42
Fixes STR #3169 , comments #4 , #5 and #7 .
...
Prevents warnings from the OSX 10.9.x clang compiler.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-19 03:47:32 +00:00
Greg Ercolano
2082d7e197
Fixes STR# 2973: collection of Sun compiler fixes.
...
Applied str_2973_r9979_sun-fix-warnings-7.patch (with small mods)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21 16:41:23 +00:00
Ian MacArthur
6f4c59079f
This change to fluid's CodeEditor ought to make it honour textsize changes
...
that are applied at text buffer creation.
How effective this will be for etxtsize changes that occur later is
another question, but this corrects a problem identified in the
thread "Re: [fltk.general] FLUID fonts earlier
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-13 14:45:18 +00:00
Greg Ercolano
4f4a8fc3c7
Modifications to all LGPL headers for STR #2685 .
...
(to clarify static exception LGPL by changing license references)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 04:49:30 +00:00
Matthias Melcher
e454f97acc
Fixed Copyright to 2010.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:06:39 +00:00
Matthias Melcher
167d767e0f
Changed the copyright to 2009 for header files. Still todo: src and test directory.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:11:32 +00:00
Fabien Costantini
ae697b80b2
Doxygen documentation : took the opportunity to update copyright info as we 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-16 07:26:22 +00:00
Matthias Melcher
d90102f9d2
Fluid Code Viewer is now truly a viewer, not an editor. I would love to allow text editing in the Code Viewer and re-enter the code into the UI, but that is currently close to impossible to implement
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:00:41 +00:00
Matthias Melcher
d3db965083
Fixed a few memory faults found by Valgrind (yes, I finally got my Linux
...
machine up and running again)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 10:13:17 +00:00
Michael R Sweet
fa517add2e
Clear style buffer in destructor.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04 02:34:33 +00:00
Michael R Sweet
067d1d8a61
Updated the default label and text colors of all widgets to use
...
FL_FOREGROUND_COLOR instead of FL_BLACK (STR #1052 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-30 17:42:21 +00:00
Matthias Melcher
35b28fafd1
last character in CodeEditor (Fluid) would disappear under certain circumstances. The problem is two consecutive calls to Fl_Text_Buffer::insert() which first insert a newline, then indent the text by two spaces. The first 'insert' marks the text all the way to the end for redraw. The second 'insert' adds two characters, however the last character for redraw remains the previously last character, hence the very last two characters are not redrawn.
...
This fix changes the CodeEditor to do a single 'insert'. It would be better to change Fl_Text_Display to increment the redraw range if more characters are inserted before the actual draw is called. Since this goes too close to core code for my taste, I leave that as an exercise for 2.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4446 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-22 20:18:56 +00:00
Michael R Sweet
9e84259e6c
Add auto-indent to code editor.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-24 04:07:19 +00:00
Michael R Sweet
325dc85b2c
Fix syntax highlighting bug in the editor demo, and port changes to the
...
CodeEditor widget in FLUID.
Use the CodeEditor widget for the other code windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-23 03:13:31 +00:00
Michael R Sweet
e852b736ad
Initial integration with editor-based CodeEditor class (only the widget
...
callback editor right now)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21 06:28:30 +00:00