Changeset 254:a73bd022b5ac
- Timestamp:
- 07/12/08 05:56:46
(4 months ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- branch:
- default
- Message:
Add version TANGOSVN
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r246 |
r254 |
|
| 23 | 23 | import dwt.custom.StyledText; |
|---|
| 24 | 24 | |
|---|
| 25 | | static import tango.io.FileConst; |
|---|
| | 25 | version(TANGOSVN){ |
|---|
| | 26 | static import tango.io.model.IFile; |
|---|
| | 27 | } |
|---|
| | 28 | else{ |
|---|
| | 29 | static import tango.io.FileConst; |
|---|
| | 30 | } |
|---|
| | 31 | |
|---|
| 26 | 32 | static import tango.text.Text; |
|---|
| 27 | 33 | import dwt.dwthelper.utils; |
|---|
| … | … | |
| 30 | 36 | |
|---|
| 31 | 37 | class DefaultContent : StyledTextContent { |
|---|
| | 38 | version(TANGOSVN){ |
|---|
| | 39 | private final static String LineDelimiter = tango.io.model.IFile.FileConst.NewlineString; |
|---|
| | 40 | } |
|---|
| | 41 | else{ |
|---|
| 32 | 42 | private final static String LineDelimiter = tango.io.FileConst.FileConst.NewlineString; |
|---|
| | 43 | } |
|---|
| 33 | 44 | |
|---|
| 34 | 45 | StyledTextListener[] textListeners; // stores text listeners for event sending |
|---|
| r252 |
r254 |
|
| 86 | 86 | static import tango.text.Text; |
|---|
| 87 | 87 | static import tango.text.Util; |
|---|
| 88 | | static import tango.io.FileConst; |
|---|
| | 88 | version(TANGOSVN){ |
|---|
| | 89 | static import tango.io.model.IFile; |
|---|
| | 90 | } |
|---|
| | 91 | else{ |
|---|
| | 92 | static import tango.io.FileConst; |
|---|
| | 93 | } |
|---|
| 89 | 94 | static import tango.text.convert.Utf; |
|---|
| 90 | 95 | import tango.util.Convert; |
|---|
| … | … | |
| 154 | 159 | |
|---|
| 155 | 160 | static const char TAB = '\t'; |
|---|
| | 161 | version(TANGOSVN){ |
|---|
| | 162 | static const String PlatformLineDelimiter = tango.io.model.IFile.FileConst.NewlineString; |
|---|
| | 163 | } |
|---|
| | 164 | else{ |
|---|
| 156 | 165 | static const String PlatformLineDelimiter = tango.io.FileConst.FileConst.NewlineString; |
|---|
| | 166 | } |
|---|
| 157 | 167 | static const int BIDI_CARET_WIDTH = 3; |
|---|
| 158 | 168 | static const int DEFAULT_WIDTH = 64; |
|---|
| r246 |
r254 |
|
| 43 | 43 | static import tango.text.Text; |
|---|
| 44 | 44 | static import tango.text.Util; |
|---|
| 45 | | static import tango.io.FileConst; |
|---|
| 46 | 45 | static import tango.text.convert.Utf; |
|---|
| 47 | 46 | import tango.util.Convert; |
|---|