public ReplaceCharacterCommand(UCodeManager codeManager, URank pos, byte newCh) { this.mCodeManager = codeManager; this.mPosition = pos; this.mNewCharacter = newCh; this.mOldCharacter = 0; }
public RemoveRangeStringCommand(UCodeManager codeManager, URank start, URank end) { this.mCodeManager = codeManager; this.mStart = start; this.mEnd = end; this.mRemoveString = string.Empty; }
public RemoveStringCommand(UCodeManager codeManager, URank pos, int len) { this.mCodeManager = codeManager; this.mPosition = pos; this.mLength = len; this.mRemoveString = string.Empty; }
public ReplaceStringCommand(UCodeManager codeManager, URank pos, int len, string newString) { this.mCodeManager = codeManager; this.mPosition = pos; this.mLength = len; this.mNewString = newString; this.mOldString = string.Empty; }
public UParser(UCodeManager codeManager) { this.mCodeManager = codeManager; this.LastCut1 = new UCodeCut(); this.LastCut2 = new UCodeCut(); Reset(); }
public InsertRangeStringCommand(UCodeManager codeManager, URank start, string insertString) { this.mCodeManager = codeManager; this.mStart = start; this.mEnd = start; this.mInsertString = insertString; byte[] data = UHelper.TanslateString(insertString); for (int i = 0; i < data.Length; i++) { if (data[i] == UConfig.NewLine) { this.mEnd.Row++; this.mEnd.Col = 0; continue; } this.mEnd.Col++; } }
public InsertStringCommand(UCodeManager codeManager, URank pos, string str) { this.mCodeManager = codeManager; this.mPosition = pos; this.mInsertString = str; }
public RemoveCharacterCommand(UCodeManager codeManager, URank pos) { this.mCodeManager = codeManager; this.mPosition = pos; this.mRemovedCharacter = 0; }
public InsertCharacterCommand(UCodeManager codeManager, URank pos, byte ch) { this.mCodeManager = codeManager; this.mPosition = pos; this.mInsertCharacter = ch; }
public RemoveNewlineByteCommand(UCodeManager codeManager, URank pos) { this.mCodeManager = codeManager; this.mPosition = pos; }
public InsertNewLineByteCommand(UCodeManager codeManager, URank pos) { this.mCodeManager = codeManager; this.mPosition = pos; }