aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/text.h b/text.h
index 15d0ad1..773e8b6 100644
--- a/text.h
+++ b/text.h
@@ -76,6 +76,8 @@ void text_mark_clear_all(Text*);
size_t text_size(Text*);
bool text_modified(Text*);
+/* test whether the underlying file uses UNIX style \n or Windows style \r\n newlines */
+bool text_newlines_crnl(Text*);
int text_save(Text*, const char *file);
void text_free(Text*);