public void update(Scribe scribe, int sourceRestart){ this.outputColumn = scribe.column; this.outputLine = scribe.line; this.inputOffset = sourceRestart; this.inputColumn = scribe.getCurrentIndentation(sourceRestart) + 1; this.outputIndentationLevel = scribe.indentationLevel; this.lastNumberOfNewLines = scribe.lastNumberOfNewLines; this.needSpace = scribe.needSpace; this.pendingSpace = scribe.pendingSpace; this.editsIndex = scribe.editsIndex; this.nlsTagCounter = scribe.nlsTagCounter; this.numberOfIndentations = scribe.numberOfIndentations; this.textEdit = scribe.getLastEdit(); }
public void update(Scribe scribe, int sourceRestart){ this.outputColumn = scribe.column; this.outputLine = scribe.line; this.inputOffset = sourceRestart; this.inputColumn = scribe.getCurrentIndentation(sourceRestart) + 1; this.outputIndentationLevel = scribe.indentationLevel; this.lastNumberOfNewLines = scribe.lastNumberOfNewLines; this.needSpace = scribe.needSpace; this.pendingSpace = scribe.pendingSpace; this.editsIndex = scribe.editsIndex; this.nlsTagCounter = scribe.nlsTagCounter; this.numberOfIndentations = scribe.numberOfIndentations; this.textEdit = scribe.getLastEdit(); }
public void update(Scribe scribe, int sourceRestart){ this.outputColumn = scribe.column; this.outputLine = scribe.line; this.inputOffset = sourceRestart; this.inputColumn = scribe.getCurrentIndentation(sourceRestart) + 1; this.outputIndentationLevel = scribe.indentationLevel; this.lastNumberOfNewLines = scribe.lastNumberOfNewLines; this.needSpace = scribe.needSpace; this.pendingSpace = scribe.pendingSpace; this.editsIndex = scribe.editsIndex; this.nlsTagCounter = scribe.nlsTagCounter; this.numberOfIndentations = scribe.numberOfIndentations; this.textEdit = scribe.getLastEdit(); }
int currentIndentation = getCurrentIndentation(this.scanner.currentPosition); if (currentIndentation > 0 && this.indentationLevel > 0) { int col = this.column;
int currentIndentation = getCurrentIndentation(this.scanner.currentPosition); if (currentIndentation > 0 && this.indentationLevel > 0) { int col = this.column;
int currentIndentation = getCurrentIndentation(this.scanner.currentPosition); if (currentIndentation > 0 && this.indentationLevel > 0) { int col = this.column;
int currentCommentIndentation = getCurrentIndentation(this.lastLineComment.leadingSpaces, 0);
int currentCommentIndentation = getCurrentIndentation(this.lastLineComment.leadingSpaces, 0);
int currentCommentIndentation = getCurrentIndentation(this.lastLineComment.leadingSpaces, 0);
return 0; lastColumn = getCurrentIndentation(this.scanner.getCurrentTokenSource(), lastColumn); break; case TerminalTokens.TokenNameMULTIPLY:
return 0; lastColumn = getCurrentIndentation(this.scanner.getCurrentTokenSource(), lastColumn); break; case TerminalTokens.TokenNameMULTIPLY:
return 0; lastColumn = getCurrentIndentation(this.scanner.getCurrentTokenSource(), lastColumn); break; case TerminalTokens.TokenNameMULTIPLY:
int currentCommentIndentation = getCurrentIndentation(whiteSpaces, 0); int relativeIndentation = currentCommentIndentation - this.lastLineComment.currentIndentation; if (this.tabLength == 0) {
int currentCommentIndentation = getCurrentIndentation(whiteSpaces, 0); int relativeIndentation = currentCommentIndentation - this.lastLineComment.currentIndentation; if (this.tabLength == 0) {
int currentCommentIndentation = getCurrentIndentation(whiteSpaces, 0); int relativeIndentation = currentCommentIndentation - this.lastLineComment.currentIndentation; if (this.tabLength == 0) {