| [ Return to Bugs & Features | SVN ⇄ GIT ]
STR #3344
Application: | FLTK Library |
Status: | 2 - Closed w/o Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | FLUID |
Summary: | fluid's New->Code->Code should show .cxx file line#s |
Version: | 1.4-feature |
Created By: | greg.ercolano |
Assigned To: | greg.ercolano |
Fix Version: | Will Not Fix |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | greg.ercolano 11:44 Oct 17, 2016 |
| The current source code viewer for New->Code->Code (which lets users attach custom code to functions/methods/widgets) currently shows line#s that always start with 1.
Would be better if it showed line numbers relative to the .cxx/.h files. This way compiler errors about specific line numbers would match line#s in the code viewer.
I think the Fl_Text_Display widget might need to be modified to support this, as there would need to be a way to specify a line# offset via the API. Then when the user opens the code viewer, fluid could determine the line# offset of the beginning of the code block, and set the offset just before opening the viewer. | |
|
#2 | greg.ercolano 20:25 Nov 03, 2017 |
| I'm closing this because Edit -> Show Source Code does this, and is arguably a better solution, since it shows all the code in context. | |
[ Return to Bugs & Features ]
|
| |