diff options
author | nyamatongwe <unknown> | 2004-08-09 02:59:27 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2004-08-09 02:59:27 +0000 |
commit | 8abd07ed165ff6ff282e01634ec0a83e59f0312c (patch) | |
tree | 93134ef388ffe8a7b1e975fe933ddf250713358f /src/Document.h | |
parent | 6cf668234ff7f4d2c8d4e84f248087c83d16913f (diff) | |
download | scintilla-mirror-8abd07ed165ff6ff282e01634ec0a83e59f0312c.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(); } |