mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 03:30:40 +02:00
* Some notes and minor changes
This commit is contained in:
parent
eaa4feeebd
commit
be2c940013
3 changed files with 45 additions and 4 deletions
|
@ -9,6 +9,35 @@ var ansi = require('./ansi_term.js');
|
|||
var assert = require('assert');
|
||||
var _ = require('lodash');
|
||||
|
||||
//
|
||||
// Notes
|
||||
// * options.tabSize can be used to resolve \t
|
||||
// * See https://github.com/dominictarr/hipster/issues/15 about insert/delete lines
|
||||
//
|
||||
// Blessed
|
||||
// insertLine: CSR(top, bottom) + CUP(y, 0) + IL(1) + CSR(0, height)
|
||||
// deleteLine: CSR(top, bottom) + CUP(y, 0) + DL(1) + CSR(0, height)
|
||||
// Quick Ansi -- update only what was changed:
|
||||
// https://github.com/dominictarr/quickansi
|
||||
//
|
||||
// This thread is awesome:
|
||||
// https://github.com/dominictarr/hipster/issues/15
|
||||
//
|
||||
// See Atom's implementations
|
||||
// Newer TextDocument
|
||||
// https://github.com/atom/text-document
|
||||
//
|
||||
// Older TextBuffer
|
||||
// http://www.oscon.com/oscon2014/public/schedule/detail/37593
|
||||
//
|
||||
// Span Skip List could be used for mappings of rows/cols (display) to
|
||||
// character offsets in a buffer
|
||||
// https://github.com/atom/span-skip-list
|
||||
|
||||
//
|
||||
// Buffer: Actual text buffer
|
||||
// Transform: Display of soft wrap & tab expansion (e.g. tab -> ' ' * tabWidth)
|
||||
//
|
||||
|
||||
//
|
||||
// General Design
|
||||
|
@ -33,7 +62,15 @@ exports.MultiLineEditTextView = MultiLineEditTextView;
|
|||
//
|
||||
// Syncronet
|
||||
//
|
||||
|
||||
//
|
||||
// Projects of use/interest:
|
||||
//
|
||||
// https://github.com/atom/text-buffer
|
||||
// http://danieltao.com/lazy.js/
|
||||
// http://www.jbox.dk/downloads/edit.c
|
||||
// https://github.com/slap-editor/slap
|
||||
// https://github.com/chjj/blessed
|
||||
//
|
||||
|
||||
function MultiLineEditTextView(options) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue