22< html lang ="en ">
33
44< head >
5- < meta charset ="UTF-8 ">
6- < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
7- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8- < meta name ="description " content ="Free and comfortable online Lua code editor with source code, beautiful syntax highlighting, error detection system and easy to use API. " />
9- < title > karibski</ title >
10- < link rel ="icon " href ="https://moderka.org/karibski/karibski.jpg " type ="images/jpg ">
11- < meta property ="og:title " content ="karibski " />
12- < meta property ="og:site_name " content ="Moderka Scripts ">
13- < meta property ="og:url " content ="https://moderka.org/karibski/ " />
14- < meta property ="og:description " content ="Free and comfortable online Lua code editor with source code, beautiful syntax highlighting, error detection system and easy to use API. " />
15- < meta property ="og:type " content ="website " />
16- < meta property ="og:image " content ="https://moderka.org/karibski/karibski.jpg " />
17- < style >
18- body {
19- overflow : hidden;
20- background-color : # 25282c
21- }
22- # editor {
23- margin : 0 ;
24- position : absolute;
25- top : 0 ;
26- bottom : 0 ;
27- left : 0 ;
28- right : 0
29- }
30- </ style >
31- < script src ="https://ace.ttwizz.su/ace.js "> </ script >
32- < script src ="https://ace.ttwizz.su/ext-language_tools.js "> </ script >
5+ < meta charset ="UTF-8 ">
6+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
7+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8+ < meta name ="description " content ="Free and comfortable online Lua code editor with source code, beautiful syntax highlighting, error detection system and easy to use API. " />
9+ < title > karibski</ title >
10+ < link rel ="icon " href ="https://moderka.org/karibski/karibski.jpg " type ="images/jpg ">
11+ < meta property ="og:title " content ="karibski " />
12+ < meta property ="og:site_name " content ="Moderka Scripts ">
13+ < meta property ="og:url " content ="https://moderka.org/karibski/ " />
14+ < meta property ="og:description " content ="Free and comfortable online Lua code editor with source code, beautiful syntax highlighting, error detection system and easy to use API. " />
15+ < meta property ="og:type " content ="website " />
16+ < meta property ="og:image " content ="https://moderka.org/karibski/karibski.jpg " />
17+ < style >
18+ body {
19+ overflow : hidden;
20+ background-color : # 25282c
21+ }
22+
23+ # editor {
24+ margin : 0 ;
25+ position : absolute;
26+ top : 0 ;
27+ bottom : 0 ;
28+ left : 0 ;
29+ right : 0
30+ }
31+ </ style >
32+ < script src ="https://ace.ttwizz.su/ace.js "> </ script >
33+ < script src ="https://ace.ttwizz.su/ext-language_tools.js "> </ script >
3334</ head >
3435
35- < body >
36- < pre id ="editor "> </ pre >
37- < script >
38- ace . require ( "ace/ext/language_tools" ) ;
39- var editor = ace . edit ( "editor" ) ;
40- editor . setTheme ( "ace/theme/dracula" ) ;
41- editor . session . setMode ( "ace/mode/lua" ) ;
42- editor . setOption ( "enableLiveAutocompletion" , true ) ;
43- editor . setOption ( "cursorStyle" , "smooth" ) ;
44- editor . setShowPrintMargin ( false ) ;
45- document . getElementById ( "editor" ) . style . fontSize = "16px" ;
46- var GetText = function ( ) {
47- return editor . getValue ( ) ;
48- }
49- var SetText = function ( Text ) {
50- editor . setValue ( Text ) ;
51- editor . session . setValue ( Text ) ;
52- }
53- var ClearText = function ( ) {
54- editor . setValue ( "" ) ;
55- }
56- var SetTheme = function ( Theme ) {
57- editor . setTheme ( "ace/theme/" + Theme ) ;
58- }
59- </ script >
36+ < body > < pre id ="editor "> </ pre >
37+ < script >
38+ ace . require ( "ace/ext/language_tools" ) ;
39+ var editor = ace . edit ( "editor" ) ;
40+ editor . setTheme ( "ace/theme/dracula" ) ;
41+ editor . session . setMode ( "ace/mode/lua" ) ;
42+ editor . setOption ( "enableLiveAutocompletion" , true ) ;
43+ editor . setOption ( "cursorStyle" , "smooth" ) ;
44+ editor . setShowPrintMargin ( false ) ;
45+ document . getElementById ( "editor" ) . style . fontSize = "16px" ;
46+ var GetText = function ( ) {
47+ return editor . getValue ( ) ;
48+ }
49+ var SetText = function ( Text ) {
50+ editor . setValue ( Text ) ;
51+ editor . session . setValue ( Text ) ;
52+ }
53+ var ClearText = function ( ) {
54+ editor . setValue ( "" ) ;
55+ }
56+ var SetTheme = function ( Theme ) {
57+ editor . setTheme ( "ace/theme/" + Theme ) ;
58+ }
59+ </ script >
6060</ body >
6161
6262</ html >
0 commit comments