Skip to content

Conversation

nrocy
Copy link
Collaborator

@nrocy nrocy commented Oct 12, 2010

Worth noting I've now changed Rename*Variable() methods significantly. They should be more resilient than before.

Also added a bunch of helper methods to:

  • get visually selected text
  • find the lines of the start/end block maintaining cursor position (matchit.vim required still)
  • run given substitute pattern over a line range without messing with the cursor or throwing exceptions

No rush on merging it, hope you're enjoying the Windy City ;)

Cheers,

  • Paul

nrocy added 9 commits October 12, 2010 00:24
Need to start refactoring/extracting helper methods soon
tidy up search for surrounding block in RenameInstanceVariable
Always replaces all instances irrespective of gdefault setting
Add gsub_all_in_range() helper
Fix bug in RenameLocalVariable that could cause it to make ivars erroneously
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant