mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
Switched to a new coding style, which plays nicely with the Reader/Writer. This new style allows REFLECT to be used instead of REFLECT_N in most places.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@15 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -53,9 +53,9 @@ class Writer {
|
||||
/// Indentation of the current block
|
||||
int indentation;
|
||||
/// Did we just open a block (i.e. not written any lines of it)?
|
||||
bool justOpened;
|
||||
bool just_opened;
|
||||
/// Last key opened
|
||||
String openedKey;
|
||||
String opened_key;
|
||||
|
||||
/// Output stream we are writing to
|
||||
OutputStreamP output;
|
||||
@@ -69,7 +69,7 @@ class Writer {
|
||||
/// Leave the block we are in
|
||||
void exitBlock();
|
||||
|
||||
/// Write the openedKey and the required indentation
|
||||
/// Write the opened_key and the required indentation
|
||||
void writeKey();
|
||||
/// Output some taps to represent the indentation level
|
||||
void writeIndentation();
|
||||
|
||||
Reference in New Issue
Block a user