mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
style and doc updates.
This commit is contained in:
@@ -100,7 +100,7 @@ Blockly.blockRendering.Renderer.prototype.makeDebugger_ = function() {
|
||||
};
|
||||
|
||||
/**
|
||||
* Create a new instance of the renderer's cursor drawer
|
||||
* Create a new instance of the renderer's cursor drawer.
|
||||
* @param {!Blockly.WorkspaceSvg} workspace The workspace the cursor belongs to.
|
||||
* @param {boolean=} opt_marker True if the cursor is a marker. A marker is used
|
||||
* to save a location and is an immovable cursor. False or undefined if the
|
||||
@@ -108,7 +108,8 @@ Blockly.blockRendering.Renderer.prototype.makeDebugger_ = function() {
|
||||
* @return {!Blockly.CursorSvg} The cursor drawer.
|
||||
* @package
|
||||
*/
|
||||
Blockly.blockRendering.Renderer.prototype.makeCursorDrawer = function(workspace, opt_marker) {
|
||||
Blockly.blockRendering.Renderer.prototype.makeCursorDrawer = function(
|
||||
workspace, opt_marker) {
|
||||
return new Blockly.CursorSvg(workspace, opt_marker);
|
||||
};
|
||||
|
||||
|
||||
@@ -119,14 +119,14 @@ Blockly.Workspace = function(opt_options) {
|
||||
|
||||
/**
|
||||
* The cursor used to navigate around the AST for keyboard navigation.
|
||||
* @type {Blockly.Cursor}
|
||||
* @type {!Blockly.Cursor}
|
||||
* @protected
|
||||
*/
|
||||
this.cursor_ = new Blockly.Cursor();
|
||||
|
||||
/**
|
||||
* The marker used to mark a location for keyboard navigation.
|
||||
* @type {Blockly.MarkerCursor}
|
||||
* @type {!Blockly.MarkerCursor}
|
||||
* @protected
|
||||
*/
|
||||
this.marker_ = new Blockly.MarkerCursor();
|
||||
|
||||
Reference in New Issue
Block a user