Stub for every functions and commands

This commit is contained in:
2014-11-01 18:03:59 +01:00
parent 5c94d528fd
commit 1e7d36bd3c
2 changed files with 54 additions and 12 deletions

View File

@@ -6,6 +6,8 @@ function Buffer (vimClient) {
var buffId; var buffId;
var typeNum = 0; var typeNum = 0;
/* COMMANDS */
var addAnno = function (annoType, off) { var addAnno = function (annoType, off) {
}; };
@@ -94,14 +96,35 @@ function Buffer (vimClient) {
}; };
/* FUNCTIONS */
var getCursor = function (callback) {
};
var getLength = function (callback) {
};
var getAnno = function (serNum, callback) {
};
var getModified = function (callback) {
};
var getText = function (callback) {
};
var insert = function (off, text, callback){
};
var remove = function (off, length, callback) {
};
} }
function create() {
}
function editFile (pathName){
}

View File

@@ -291,6 +291,9 @@ function VNBClient(socket, authentication) {
socket.pipe(messageTransform); socket.pipe(messageTransform);
/* GLOBAL COMMANDS */
var startAtomic = function () { var startAtomic = function () {
}; };
@@ -310,9 +313,25 @@ function VNBClient(socket, authentication) {
var specialKeys = function () { var specialKeys = function () {
}; };
var create = function() {
};
var editFile = function (pathName){
};
/* GLOBAL FUNCTIONS */
var saveAndExit = function (callback) {
};
var getModified = function (callback) {
};
} }
VNBClient.prototype = EventEmitter; VNBClient.prototype = EventEmitter;