From 238b3a1be4d4bcc816ca886947e81fadfbe33012 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 24 Oct 2023 15:36:03 +0200 Subject: FLUID: Adds Reveal button to SourceView Position your text cursor in the source header, or .fl project file text preview and click reveal, and the corresponding node will be selected. Double will open the corresponding editor. --- fluid/sourceview_panel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fluid/sourceview_panel.h') diff --git a/fluid/sourceview_panel.h b/fluid/sourceview_panel.h index 52b3a9566..0893fe395 100644 --- a/fluid/sourceview_panel.h +++ b/fluid/sourceview_panel.h @@ -38,12 +38,13 @@ extern CodeViewer *sv_header; extern TextViewer *sv_strings; extern TextViewer *sv_project; #include +#include +#include #include extern Fl_Light_Button *sv_autorefresh; extern Fl_Light_Button *sv_autoposition; #include extern Fl_Choice *sv_code_choice_w; -#include extern void toggle_sourceview_b_cb(Fl_Button*, void*); Fl_Double_Window* make_sourceview(); extern Fl_Menu_Item menu_sv_code_choice_w[]; -- cgit v1.2.3