mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-25 11:57:05 +03:00
files.c:add_open_file() - Get rid of unsetting MARK_ISSET because otherwise writing marked text will automatically unset the marker with multibuffer enabled
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@894 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
8c8d370470
commit
0567bfe14c
@ -1,4 +1,9 @@
|
|||||||
CVS Code -
|
CVS Code -
|
||||||
|
- files.c:
|
||||||
|
add_open_file()
|
||||||
|
- Get rid of unsetting MARK_ISSET because otherwise writing
|
||||||
|
marked text will automatically unset the marker with
|
||||||
|
multibuffer enabled.
|
||||||
- global.c:
|
- global.c:
|
||||||
- Define currshortcut and currslen when either DISABLE_MOUSE
|
- Define currshortcut and currslen when either DISABLE_MOUSE
|
||||||
or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan
|
or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan
|
||||||
|
4
files.c
4
files.c
@ -533,10 +533,6 @@ int add_open_file(int update, int dup_fix)
|
|||||||
/* save current modification status */
|
/* save current modification status */
|
||||||
open_files->file_modified = ISSET(MODIFIED);
|
open_files->file_modified = ISSET(MODIFIED);
|
||||||
|
|
||||||
/* Unset the marker because nano can't (yet) handle marked text flipping between
|
|
||||||
open files */
|
|
||||||
UNSET(MARK_ISSET);
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, _("filename is %s"), open_files->data);
|
fprintf(stderr, _("filename is %s"), open_files->data);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user