1 Star 4 Fork 0

请叫我追风少年/CodingEditor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
请叫我追风少年 提交于 2019-03-12 20:43 +08:00 . 初次提交
<!DOCTYPE html>
<html>
<frameset id="frameId1" rows="4%, *" border="1">
<frame name="header" src="page/ace-editor-header.html" noresize="noresize" scrolling="no">
<frameset id="frameId2" cols="15%, *" border="4">
<frame name="navigation" src="page/ace-editor-navigation.html">
<frame name="body" src="page/ace-editor-body.html">
</frameset>
</frameset>
</html>
<!--
// 设置编辑器内容
editor.setValue('123');
// 设置滚动速度
editor.setScrollSpeed(2);
// 设置字体
editor.setOptions({fontFamily: 'Courier New'});
'Consolas'
'Bahnschrift'
'Georgia'
'Ink Free'
''
// 设置字体大小
editor.setFontSize(20);
// 设置编程语言
editor.getSession().setMode("ace/mode/java");
// 设置主题
editor.setTheme("ace/theme/idle_fingers");
// 设置滚动至文本末尾后能继续滚动的距离(0-1)
editor.setOptions({scrollPastEnd: 1});
// 设置只读
editor.setOptions({readOnly: true});
// 设置不显示行号
editor.setOptions({showLineNumbers: false});
// 设置每行文本长度辅助线的位置
editor.setPrintMarginColumn(100);
// 设置隐藏每行文本长度辅助线
editor.setShowPrintMargin(false);
// 获取只读状态,true为只读,false为可编辑
editor.getReadOnly();
// 移动光标
editor.moveCursorTo(0, 0);
// 内容搜索 ctrl+f
editor.execCommand('find');
-->
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/yjblogs/CodingEditor.git
git@gitee.com:yjblogs/CodingEditor.git
yjblogs
CodingEditor
CodingEditor
master

搜索帮助