Commit 756f220a authored by Chris Allegretta's avatar Chris Allegretta
Browse files

New toggles for flags via Meta

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@191 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 6 additions and 1 deletion
+6 -1
...@@ -33,7 +33,8 @@ extern int totsize, temp_opt; ...@@ -33,7 +33,8 @@ extern int totsize, temp_opt;
extern int fill, flags,tabsize; extern int fill, flags,tabsize;
extern WINDOW *edit, *topwin, *bottomwin; extern WINDOW *edit, *topwin, *bottomwin;
extern char *filename, *answer, *last_search, *last_replace; extern char filename[PATH_MAX];
extern char answer[132];
extern char *hblank, *help_text; extern char *hblank, *help_text;
extern struct stat fileinfo; extern struct stat fileinfo;
extern filestruct *current, *fileage, *edittop, *editbot, *filebot; extern filestruct *current, *fileage, *edittop, *editbot, *filebot;
...@@ -46,6 +47,7 @@ extern shortcut spell_list[SPELL_LIST_LEN]; ...@@ -46,6 +47,7 @@ extern shortcut spell_list[SPELL_LIST_LEN];
extern int use_regexp, regexp_compiled; extern int use_regexp, regexp_compiled;
extern regex_t search_regexp; extern regex_t search_regexp;
extern regmatch_t regmatches[10]; extern regmatch_t regmatches[10];
extern toggle toggles[TOGGLE_LEN];
/* Programs we want available */ /* Programs we want available */
......
...@@ -34,6 +34,9 @@ ...@@ -34,6 +34,9 @@
#define _(string) (string) #define _(string) (string)
#endif #endif
static char last_search[132]; /* Last string we searched for */
static char last_replace[132]; /* Last replacement string */
/* Regular expression helper functions */ /* Regular expression helper functions */
#ifdef _POSIX_VERSION #ifdef _POSIX_VERSION
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment