取消选择多行选择以单个最后一个选择

时间:2015-11-05 22:56:24

标签: sublimetext2 sublimetext3 sublimetext sublime-text-plugin

Looking at the documentation

  

要从多个选择转到单个选择,请按Escape。

然而,这总是带我到第一个选择,我想去最后一个选择,是否有插件或命令?

1 个答案:

答案 0 :(得分:0)

安装Sublime-MultiEditUtils并按override func didMoveToView(view: SKView) { .... // Build the HUD // HUD hudNode = SKNode() hudNode.zPosition = 1000 addChild(hudNode) // Coins // 1 let coin = SKSpriteNode(imageNamed: "powerup05_1") coin.position = CGPoint(x: 300, y: self.size.height-100) coin.zPosition = 1000 hudNode.addChild(coin) // 2 lblCoins = SKLabelNode(fontNamed: "ChalkboardSE-Bold") lblCoins.fontSize = 70 lblCoins.fontColor = SKColor.whiteColor() lblCoins.position = CGPoint(x: 375, y: self.size.height-100) lblCoins.horizontalAlignmentMode = SKLabelHorizontalAlignmentMode.Left lblCoins.zPosition = 1000 // 3 lblCoins.text = String(format: "X %d", GameState.sharedInstance.coins) hudNode.addChild(lblCoins) // Score // 4 lblScore = SKLabelNode(fontNamed: "ChalkboardSE-Bold") lblScore.fontSize = 70 lblScore.fontColor = SKColor.whiteColor() lblScore.position = CGPoint(x: self.size.width-325, y: self.size.height-100) lblScore.horizontalAlignmentMode = SKLabelHorizontalAlignmentMode.Right lblScore.zPosition = 1000 // 5 lblScore.text = "0" hudNode.addChild(lblScore) } jump to last region