More work on JSD format
This commit is contained in:
parent
eb955fa90d
commit
8698b13c8b
9 changed files with 109 additions and 14646 deletions
|
|
@ -467,7 +467,7 @@ var EditSession = function(text, mode) {
|
|||
|
||||
/**
|
||||
* Returns `true` if soft tabs are being used, `false` otherwise.
|
||||
* @returns Boolean
|
||||
* @returns {Boolean}
|
||||
**/
|
||||
this.getUseSoftTabs = function() {
|
||||
return this.$useSoftTabs;
|
||||
|
|
@ -573,7 +573,7 @@ var EditSession = function(text, mode) {
|
|||
|
||||
/**
|
||||
* Sets a breakpoint on every row number given by `rows`. This function also emites the `'changeBreakpoint'` event.
|
||||
* @param {[Number]} rows An array of row indicies
|
||||
* @param {Number} rows An array of row indicies
|
||||
*
|
||||
*
|
||||
*
|
||||
|
|
@ -732,7 +732,7 @@ var EditSession = function(text, mode) {
|
|||
var id = this.addMarker(range, clazz, "fullLine", inFront);
|
||||
range.id = id;
|
||||
return range;
|
||||
},
|
||||
};
|
||||
|
||||
/*
|
||||
* Error:
|
||||
|
|
@ -1593,7 +1593,7 @@ var EditSession = function(text, mode) {
|
|||
|
||||
/**
|
||||
* Returns `true` if wrap mode is being used; `false` otherwise.
|
||||
* @returns Boolean
|
||||
* @returns {Boolean}
|
||||
**/
|
||||
this.getUseWrapMode = function() {
|
||||
return this.$useWrapMode;
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ var defaultCommands = require("./commands/default_commands").commands;
|
|||
*
|
||||
* The main entry point into the Ace functionality.
|
||||
*
|
||||
* The `Editor` manages the `[[EditSession]]` (which manages `[[Document]]`s), as well as the `[[VirtualRenderer]]`, which draws everything to the screen.
|
||||
* The `Editor` manages the [[EditSession]] (which manages [[Document]]s), as well as the [[VirtualRenderer]], which draws everything to the screen.
|
||||
*
|
||||
* Event sessions dealing with the mouse and keyboard are bubbled up from `Document` to the `Editor`, which decides what to do with them.
|
||||
* @class Editor
|
||||
|
|
@ -1022,7 +1022,6 @@ var Editor = function(renderer, session) {
|
|||
* @param {Boolean} enabled Enables or disables behaviors
|
||||
*
|
||||
*
|
||||
* Specifies whether to use behaviors or not. ["Behaviors" in this case is the auto-pairing of special characters, like quotation marks, parenthesis, or brackets.]{: #BehaviorsDef}
|
||||
**/
|
||||
this.setBehavioursEnabled = function (enabled) {
|
||||
this.$modeBehaviours = enabled;
|
||||
|
|
@ -1312,8 +1311,8 @@ var Editor = function(renderer, session) {
|
|||
};
|
||||
|
||||
/**
|
||||
* Works like [[Editor.getTokenAt]], except it returns a number.
|
||||
* @returns Number
|
||||
* Works like [[EditSession.getTokenAt]], except it returns a number.
|
||||
* @returns {Number}
|
||||
**/
|
||||
this.getNumberAt = function( row, column ) {
|
||||
var _numberRx = /[\-]?[0-9]+(?:\.[0-9]+)?/g
|
||||
|
|
@ -1337,7 +1336,7 @@ var Editor = function(renderer, session) {
|
|||
|
||||
/**
|
||||
* Editor.modifyNumber(amount)
|
||||
* @param [Number] amount The value to change the numeral by (can be negative to decrease value)
|
||||
* @param {Number} amount The value to change the numeral by (can be negative to decrease value)
|
||||
*
|
||||
* If the character before the cursor is a number, this functions changes its value by `amount`.
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue