summaryrefslogtreecommitdiff
path: root/fluid/Fl_Type.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-24 15:36:03 +0200
committerMatthias Melcher <github@matthiasm.com>2023-10-24 15:36:11 +0200
commit238b3a1be4d4bcc816ca886947e81fadfbe33012 (patch)
treeffec732a5f5653f299e625e19caf12ddc9733a2d /fluid/Fl_Type.h
parente8d218109e246b14df0cdf2d818e2575c8108e9f (diff)
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.
Diffstat (limited to 'fluid/Fl_Type.h')
-rw-r--r--fluid/Fl_Type.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h
index 0226696f5..1f7f689da 100644
--- a/fluid/Fl_Type.h
+++ b/fluid/Fl_Type.h
@@ -145,7 +145,6 @@ public: // things that should not be public:
const char *callback_name(Fd_Code_Writer& f);
// text positions of this type in code, header, and project file (see SourceView)
- int code_include_start, code_include_end;
int code_static_start, code_static_end;
int code1_start, code1_end;
int code2_start, code2_end;
@@ -248,6 +247,8 @@ public:
bool is_in_class() const;
int has_function(const char*, const char*) const;
+
+ static Fl_Type *find_in_text(int text_type, int crsr);
};
#endif // _FLUID_FL_TYPE_H