Behave.js

码农软件 · 软件分类 · jQuery表单及相关 · 2019-12-23 12:14:07

软件介绍

Behave.js 是一个轻量级的 JavaScript 库,为普通的 textarea 编辑框提供了 IDE 风格的行为,特点:

  • 无依赖
  • 硬和软的 Tab 键支持
  • 自动打开和关闭:括号、连谱号和单双引号
  • 自动删除成对的字符
  • 匹配成对支付
  • 多行的缩进和反缩进
  • 自动缩进

示例代码和配置属性:

var editor = new Behave({
    textarea: null,
    replaceTab: true,
    softTabs: true,
    softTabSize: 4,
    autoOpen: true,
    overwrite: true,
    autoStrip: true,
    autoIndent: true
});

本文地址:https://codercto.com/soft/d/21773.html

A Common-Sense Guide to Data Structures and Algorithms

A Common-Sense Guide to Data Structures and Algorithms

Jay Wengrow / Pragmatic Bookshelf / 2017-8-13 / USD 45.95

If you last saw algorithms in a university course or at a job interview, you’re missing out on what they can do for your code. Learn different sorting and searching techniques, and when to use each. F......一起来看看 《A Common-Sense Guide to Data Structures and Algorithms》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具