Skip to content

Commit

Permalink
So fast
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Apr 14, 2016
1 parent 5857359 commit c9fa923
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Release"
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
Expand Down
2 changes: 1 addition & 1 deletion Example/Sources/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ViewController: UIViewController {
serverURL: NSURL(string: "wss://canvas-realtime-staging.herokuapp.com")!,
accessToken: accessToken,
organizationID: "eaedcdb7-a0d5-4415-95a7-50b78316c910",
canvasID: "5kbzOyFgWIRjJBAnIrFLQ4"
canvasID: "7bBmNtv3qVKK4plJBRAS0L"
)
}

Expand Down
6 changes: 3 additions & 3 deletions Sources/TextController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@ extension TextController: DocumentControllerDelegate {
}

public func documentController(controller: DocumentController, didInsertBlock block: BlockNode, atIndex index: Int) {
// annotationsController.insert(block: block, index: index)
// _textStorage.addStyles(stylesForBlock(block))
annotationsController.insert(block: block, index: index)
_textStorage.addStyles(stylesForBlock(block))
// layoutManager.invalidateLayoutForCharacterRange(controller.presentationRange(backingRange: block.visibleRange), actualCharacterRange: nil)
}

public func documentController(controller: DocumentController, didRemoveBlock block: BlockNode, atIndex index: Int) {
// annotationsController.remove(block: block, index: index)
annotationsController.remove(block: block, index: index)
}

public func documentControllerDidUpdateDocument(controller: DocumentController) {
Expand Down

0 comments on commit c9fa923

Please sign in to comment.