Skip to content

Commit

Permalink
Merge pull request atom#76 from devoncarew/devoncarew_use_bullet
Browse files Browse the repository at this point in the history
Use a bullet as the line / column separator
  • Loading branch information
izuzak committed May 25, 2015
2 parents 546a83c + 0f623b4 commit 37f9560
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/cursor-position-view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CursorPositionView extends HTMLElement

updatePosition: ->
if position = @getActiveTextEditor()?.getCursorBufferPosition()
@textContent = "#{position.row + 1},#{position.column + 1}"
@textContent = "#{position.row + 1}:#{position.column + 1}"
else
@textContent = ''

Expand Down
4 changes: 2 additions & 2 deletions spec/built-in-tiles-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe "Built-in Status Bar Tiles", ->

runs ->
expect(fileInfo.currentPath.textContent).toBe 'untitled'
expect(cursorPosition.textContent).toBe '1,1'
expect(cursorPosition.textContent).toBe '1:1'
expect(selectionCount).toBeHidden()

describe "when the associated editor's path changes", ->
Expand Down Expand Up @@ -120,7 +120,7 @@ describe "Built-in Status Bar Tiles", ->
it "updates the cursor position in the status bar", ->
jasmine.attachToDOM(workspaceElement)
editor.setCursorScreenPosition([1, 2])
expect(cursorPosition.textContent).toBe '2,3'
expect(cursorPosition.textContent).toBe '2:3'

describe "when the associated editor's selection changes", ->
it "updates the selection count in the status bar", ->
Expand Down

0 comments on commit 37f9560

Please sign in to comment.