Browse code

Make Control+Shift+F1 use the manpage relevant to the current language

Dario Rodriguez authored on 24/09/2025 10:48:32
Showing 1 changed files
... ...
@@ -11,8 +11,19 @@
11 11
  * This program is licensed under the terms of GNU GPL v2.1+
12 12
  */
13 13
 
14
+#ifndef RE_PLUGIN_PROTOTYPES_H
15
+#define RE_PLUGIN_PROTOTYPES_H
16
+typedef enum protolang_t {
17
+        protolang_undefined=-1,
18
+        protolang_c=0,
19
+        protolang_tcl,
20
+        protolang_end,
21
+} protolang_t;
14 22
 
15 23
 int redata_prototypes_register(redata_t *redata, redata_plugin_t *slot);
16 24
 int redata_prototypes_unregister(redata_t *redata, redata_plugin_t *slot,char *filename);
17 25
 
18 26
 const char *redata_prototypes_get(redata_t *redata, long pos);
27
+
28
+protolang_t redata_prototypes_detectlang(redata_t *redata);
29
+#endif
Browse code

Update author email

Dario Rodriguez authored on 07/01/2022 17:57:32
Showing 1 changed files
... ...
@@ -7,7 +7,7 @@
7 7
  *
8 8
  * HEADER FILE
9 9
  *
10
- * Author: Dario Rodriguez dario@softhome.net
10
+ * Author: Dario Rodriguez antartica@whereismybit.com
11 11
  * This program is licensed under the terms of GNU GPL v2.1+
12 12
  */
13 13
 
Browse code

Implement show hint of related prototype (for now only for common C/POSIX functions)

Dario Rodriguez authored on 31/10/2020 21:29:27
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,18 @@
1
+/*
2
+ * re_plugin_prototypes.h
3
+ *
4
+ * A programmers editor
5
+ *
6
+ * re_data plugin to support showing common prototypes hints.
7
+ *
8
+ * HEADER FILE
9
+ *
10
+ * Author: Dario Rodriguez dario@softhome.net
11
+ * This program is licensed under the terms of GNU GPL v2.1+
12
+ */
13
+
14
+
15
+int redata_prototypes_register(redata_t *redata, redata_plugin_t *slot);
16
+int redata_prototypes_unregister(redata_t *redata, redata_plugin_t *slot,char *filename);
17
+
18
+const char *redata_prototypes_get(redata_t *redata, long pos);