FLTK logo

STR #712

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 | SVN ⇄ GIT ]

STR #712

Application:FLTK Library
Status:2 - Closed w/o Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:FLUID
Summary:Fluid External Editor Patch
Version:1.4-feature
Created By:alvin
Assigned To:rokan
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 alvin
10:21 Feb 01, 2005
fluid-1.1.6.patch-alvin.tar.gz
9k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 alvin
10:21 Feb 01, 2005
Please find attached a Suversion patch for Fluid 1.1.6. This patch adds external editor support when editing code.

When a code node is selected, the user is presented with the standard code dialog box. However, there is an additional "Editor..." button that when clicked will launch the editor command defined by the FLUID_EDITOR environment variable. If this variable is not set, then the user is presented with another dialog that instructs the user how to set this variable both in bash, csh and in Windows (NT and XP).

This patch is a port of the original patch (see fltk.general for message Fluid External Editor Patch for URL). I simply just made this patch work. I retained (as best I could) the coding style of the original authours. Personally, I do not like this style and would gladly clean up the code to match FLTK's coding standard.

One other thing, I am unable to test the WIN32 code. I do not have Windows at work nor at home.

If possible, I'd like this patch to become part of Fluid. Fluid is a great GUI builder but I miss my syntax highlighting, code expansion, code folding abilities of my current editors (gvim, nedit, kate, etc.).

Thank you for your time,

Alvin Beach
Email: abeach@deepvision.ca
 
 
#2 fabien
01:30 May 05, 2006
Roman could you please move your the 1.2 str to 2.0 so that we can have a better idea of what we need to do ?
Thanks!
Fabien.
 
 
#3 alvin
04:52 May 05, 2006
Can I be of assistance? I didn't make the original patch, but I did port it to the FLTK 1.1.6. The original patch, by Muhammad A Muquit, was for FLTK fltk 1.0.11.

I did create a version of this patch for FLTK 2.0, but that was for FLTK 2.0 as it existed a year ago.

My reason, at the time, for submitting this RFE was to add support for using gvim (or any editor like kate, etc.) with FLUID. But, any non-forking editor is supported.

I do not use this patch anymore though. Instead, I declare all my functions in my fluid projects as "declarations". I then create a new .cpp that contains the implementation of the functions. This way I can use KDevelop's auto-completion, debugging, and a coding style that I prefer. This is just a personal preferance though.

If this patch is actually useful for someone, I wouldn't mind maintaining it (e.g. porting it to the latest versions of FLTK).

Now, looking back, I'm not sure if this STR should be an RFE, but instead it should be an Article or an entry in the FAQ?

Alvin
 
 
#4 alvin
17:26 Jul 31, 2014
I would like to withdraw this STR. I no longer use this feature or believe it offers any value to FLUID. It is just cluttering the STRs.

I still use Declarations to declare my functions in FLUID (header only) for which I implement in KDevelop4. This system has served me well since 2006 (Kdevelop3 at the time)!
 
 
#5 greg.ercolano
20:35 Jul 31, 2014
Closing as requested.

It seems this STR is assigned to Roman Kantor; Roman, feel free
to either reply and reopen if you think this should continue to be
researched.
 
 
#6 greg.ercolano
06:21 Jul 20, 2016
Note: External editor support was added to fluid in r11816 + r11817.
http://www.fltk.org/str.php?L3213
 
     

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'.