mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-24 03:25:03 +03:00
GH-221 Rename a method
This commit is contained in:
parent
75f922d4e7
commit
2530472729
@ -201,7 +201,7 @@ class Grid: CustomStringConvertible {
|
||||
return position.row * self.size.width + position.column
|
||||
}
|
||||
|
||||
func regionOfCurrentWord(position: Position) -> Region {
|
||||
func regionOfWord(at position: Position) -> Region {
|
||||
let row = position.row
|
||||
let column = position.column
|
||||
|
||||
|
@ -859,7 +859,7 @@ extension NeoVimView: NeoVimUiBridgeProtocol {
|
||||
if string == " " {
|
||||
self.setNeedsDisplay(cellPosition: curPos)
|
||||
} else {
|
||||
self.setNeedsDisplay(region: self.grid.regionOfCurrentWord(curPos))
|
||||
self.setNeedsDisplay(region: self.grid.regionOfWord(at: curPos))
|
||||
}
|
||||
} else {
|
||||
self.setNeedsDisplay(cellPosition: curPos)
|
||||
|
Loading…
Reference in New Issue
Block a user