Textarea Plus

An userscript to improve plain textarea for code editing.

目前為 2017-01-28 提交的版本,檢視 最新版本

作者
eight
評價
0 0 0
版本
2.0.0
建立日期
2014-09-09
更新日期
2017-01-28
尺寸
7.2 KB
授權條款
未知
腳本執行於
所有網站

Textarea Plus

Have a better textarea! An userscript to improve plain textarea for code editing.

Features

  • Tab in textarea.
  • Auto indent (notepad++ style).
  • Auto close braces.
  • Multi-line indent/unindent.
  • Smart home key.

Demo

https://rawgit.com/eight04/textarea-plus/master/demo.html

Changelog

  • 2.0.0 (Jan 28, 2017)
    • Rewrite.
    • Change the behavior of braces when selection is not empty.
  • 1.1.2 (Jun 18, 2015)
    • Do not use capture flag.
  • 1.1.1 (Dec 9, 2014)
    • Auto close braces.
  • 1.1.0
    • Fix direction issue when using Shift + Home/End.
    • Changed how data.pos works. pos[0] will greater than pos[1] if direction is "backward".
  • 1.0.4
    • ignore if element has onkeydown attr.
  • 1.0.3
    • add ignore class list.
  • 1.0
    • first release.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址