aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-17 01:42:54 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-17 01:42:54 +0100
commit79495eb1e3cf282cce515d15c5be925587b8c483 (patch)
tree2ef69e61c269cbbd4c9d41e7d6365a9a9cc4fea5 /main.cpp
parent3c12d015023a48bf6c48dea4ae1a60045b2c9c04 (diff)
downloadsciteco-79495eb1e3cf282cce515d15c5be925587b8c483.tar.gz
use special flag to temporarily disable buffer dirty checks when a Q-Register is (temporarily) edited without changing the current document
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index c85615d..0cea4e9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -58,7 +58,8 @@ Interface::process_notify(SCNotification *notify)
g_printf("SCINTILLA SAVEPOINT LEFT\n");
#endif
- if (!ring.current || ring.current->dirty)
+ if (!dirty_check_enabled ||
+ !ring.current || ring.current->dirty)
break;
undo.push_msg(SCI_SETSAVEPOINT);