diff options
author | nyamatongwe <devnull@localhost> | 2004-08-09 02:59:27 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2004-08-09 02:59:27 +0000 |
commit | 2dc72bf754d9b804d1b499aa136f552ad6d1b94c (patch) | |
tree | 93134ef388ffe8a7b1e975fe933ddf250713358f /src/Document.h | |
parent | 84b6c8b8943e9d78a2e0194209dafb09f8a09f17 (diff) | |
download | scintilla-mirror-2dc72bf754d9b804d1b499aa136f552ad6d1b94c.tar.gz |
Moved ConvertLineEnds from ScintillaGTK to Document so that it can be used
on other platforms. Changed name to TransformLineEnds as Document already
had a ConvertLineEnds.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index 54ecadb00..ce27ffc47 100644 --- a/src/Document.h +++ b/src/Document.h @@ -156,6 +156,7 @@ public: int GetColumn(int position); int FindColumn(int line, int column); void Indent(bool forwards, int lineBottom, int lineTop); + static char *TransformLineEnds(int *pLenOut, const char *s, size_t len, int eolMode); void ConvertLineEnds(int eolModeSet); void SetReadOnly(bool set) { cb.SetReadOnly(set); } bool IsReadOnly() { return cb.IsReadOnly(); } |