5dc8de4886accb33a897ce81cf6ee454e9505a8a
Files Diff
- Added: 3
- Removed: 4
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getReadOffset() : int renamed to public getReadPosition() : int in class melnorme.lang.utils.parse.OffsetBasedCharacterReader | From | To | |
Pull Up Method | 6 | ||
Pull Up Method public customizeDocumentCommand(doc IDocument, cmd DocumentCommand) : void from class melnorme.lang.ide.core.text.format.LangAutoEditStrategy to public customizeDocumentCommand(doc IDocument, cmd DocumentCommand) : void from class melnorme.lang.ide.core.text.format.AbstractAutoEditStrategy | From | To | |
Pull Up Method public LangAutoEditStrategyExt(partitioning String, contentType String, viewer ITextViewer, preferences ILangAutoEditsPreferencesAccessExt) from class melnorme.lang.ide.core.text.format.LangAutoEditStrategyExt to public LangAutoEditStrategy(viewer ITextViewer, partitioning String, contentType String, preferences ILangAutoEditsPreferencesAccess) from class melnorme.lang.ide.core.text.format.LangAutoEditStrategy | From | To | |
Pull Up Method public getRegionEnd(region IRegion) : int from class melnorme.lang.ide.core.text.format.LangAutoEditStrategy to public getRegionEnd(region IRegion) : int from class melnorme.lang.ide.core.text.format.AbstractAutoEditStrategy | From | To | |
Pull Up Method protected equalsDocumentString(expectedIndentStr String, doc IDocument, lineRegion IRegion) : boolean from class melnorme.lang.ide.core.text.format.LangAutoEditStrategy to protected equalsDocumentString(expectedIndentStr String, doc IDocument, lineRegion IRegion) : boolean from class melnorme.lang.ide.core.text.format.AbstractAutoEditStrategy | From | To | |
Pull Up Method protected keyWasDelete() : boolean from class melnorme.lang.ide.core.text.format.LangAutoEditStrategy to protected keyWasDelete() : boolean from class melnorme.lang.ide.core.text.format.AbstractAutoEditStrategy | From | To | |
Pull Up Method protected keyWasBackspace() : boolean from class melnorme.lang.ide.core.text.format.LangAutoEditStrategy to protected keyWasBackspace() : boolean from class melnorme.lang.ide.core.text.format.AbstractAutoEditStrategy | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type preferences : ILangAutoEditsPreferencesAccessExt to preferences : ILangAutoEditsPreferencesAccess in method public LangAutoEditStrategy(viewer ITextViewer, partitioning String, contentType String, preferences ILangAutoEditsPreferencesAccess) in class melnorme.lang.ide.core.text.format.LangAutoEditStrategy | From | To | |
Inline Method | 1 | ||
Inline Method protected testEnterAutoEdit_____(textBefore String, textAfter String, expectedInsert String, offsetDelta int) : void inlined to protected testEnterAutoEdit(textBefore String, textAfter String, expectedEdit String) : void in class melnorme.lang.ide.core.text.format.LangAutoEditStrategyTest | From | To | |
Pull Up Attribute | 4 | ||
Pull Up Attribute protected lastKeyEvent : Event from class melnorme.lang.ide.core.text.format.LangAutoEditStrategy to protected lastKeyEvent : Event from class melnorme.lang.ide.core.text.format.AbstractAutoEditStrategy | From | To | |
Pull Up Attribute protected parenthesesAsBlocks : boolean from class melnorme.lang.ide.core.text.format.LangAutoEditStrategyExt to protected parenthesesAsBlocks : boolean from class melnorme.lang.ide.core.text.format.LangAutoEditStrategy | From | To | |
Pull Up Attribute protected contentType : String from class melnorme.lang.ide.core.text.format.LangAutoEditStrategyExt to protected contentType : String from class melnorme.lang.ide.core.text.format.LangAutoEditStrategy | From | To | |
Pull Up Attribute protected partitioning : String from class melnorme.lang.ide.core.text.format.LangAutoEditStrategyExt to protected partitioning : String from class melnorme.lang.ide.core.text.format.LangAutoEditStrategy | From | To | |
Extract Attribute | 1 | ||
Extract Attribute public EOF : int in class melnorme.lang.utils.parse.IBasicCharSource | From | To | |
Move Class | 1 | ||
Move Class melnorme.lang.ide.core.text.format.LangAutoEditStrategy.VerifyKeyRecorder moved to melnorme.lang.ide.core.text.format.AbstractAutoEditStrategy.VerifyKeyRecorder | From | To | |
Extract Superclass | 1 | ||
Extract Superclass melnorme.lang.ide.core.text.format.AbstractAutoEditStrategy from classes [melnorme.lang.ide.core.text.format.LangAutoEditStrategy] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute readOffset : int to readPosition : int in class melnorme.lang.utils.parse.OffsetBasedCharacterReader | From | To | |
Extract Method | 2 | ||
Extract Method protected setupDocument(contents String) : Document extracted from protected setupDocument(textBefore String, textAfter String) : Document in class melnorme.lang.ide.core.text.format.LangAutoEditStrategyTest | From | To | |
Extract Method public scanToBlockStart(blockCloseOffset int, blockClose char) : int extracted from public scanToBlockStart(blockCloseOffset int) : int in class melnorme.lang.ide.core.text.BlockHeuristicsScannner | From | To | |
Rename Parameter | 1 | ||
Rename Parameter n : int to offset : int in method public lookahead(offset int) : int in class melnorme.lang.utils.parse.StringParseSource | From | To |