Changeset 76caa79b7d4871184c972899148210eaebb0c5cf
- Timestamp:
- 01/06/07 23:46:10 (6 years ago)
- Author:
- Philipp Kern <phil@…>
- Parents:
- 1bdb92b946c0b87407647f50071ac04897b409a3
- Children:
- 55e1cc1b797a919303b4e85ded4a8dd3f2357396
- git-committer:
- Philipp Kern <phil@0x539.de> / 2007-01-06T22:46:10Z+0000
- Message:
-
[project @ Non-empty documents are flagged modified [ref #72]]
Original author: Philipp Kern <phil@…>
Date: 2005-08-02 09:35:22+00:00
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r431b88c
|
r76caa79
|
|
| 405 | 405 | buf->set_highlight(true); |
| 406 | 406 | |
| 407 | | // Not modified when subscribed |
| 408 | | buf->set_modified(false); |
| | 407 | // Not modified when subscribed, if the text is empty |
| | 408 | buf->set_modified( |
| | 409 | !(doc.get_line_count() == 1 && doc.get_line(0).length() == 0) ); |
| 409 | 410 | |
| 410 | 411 | // Set initial authors |