- °³¿ä
- Âü°í
- ¼±ÅÃÇÑ ¶óÀÎ Á¤·ÄÇϱâ
- ´Ü¾î Àüü ¼±ÅÃÇϱâ
- ½Ì±Û ÀνºÅϽº
- ÄÚµåÆäÀÌÁö ¼³Á¤
- Åǹ٠Ȱ¼ºÈ
- ÆøÀÌ ÀÏÁ¤ÇÑ ÆùÆ® »ç¿ëÇϱâ
- ¸µÅ©
1 °³¿ä
- A free source code editor for Win32 and X
- GTK ±â¹ÝÀÇ Scintilla¶ó´Â ÅØ½ºÆ® ÆíÁý ÄÄÆ÷³ÍÆ®¸¦ ÀÌ¿ëÇØ ¸¸µé¾îÁø ÅØ½ºÆ® ÆíÁý±â´Ù.
- UltraEditÀÌ ÆÞ, ÆÄÀ̽㠹®¹ýÀ» Á¦´ë·Î Áö¿øÇÏÁö ¾Ê¾Æ ´Ù¸¥ ¿¡µðÅ͸¦ ã´Ù°¡ ¾Ë°Ô µÇ¾ú´Ù. ¹°·Ð VIM °°Àº °æ¿ì, ÀÌµé ¹®¹ýÀ» ¿Ïº®È÷ Áö¿øÇÏÁö¸¸ ÅÇ ÄÁÆ®·ÑÀÌ ¾ø±â ¶§¹®¿¡ ¿©·¯ ÆÄÀÏÀ» µ¿½Ã¿¡ ÆíÁýÇÒ ¶§ ºÒÆíÇß´Ù.
- µüÈ÷ ¼³Ä¡ ÇÁ·Î±×·¥ÀÌ ¾ø±â ¶§¹®¿¡ À©µµ¿ìÁî¿¡¼ »ç¿ëÇÒ ¶§´Â È®ÀåÀÚ ¹®Á¦°¡ Á» ±ÍÂú´Ù. (À©µµ¿ìÁî ÀνºÅç·¯°¡ µû·Î ÀÖ±â´Â ÀÖ´Â ¸ð¾çÀÌ´Ù.)
- Scite Çϳª¸¸À¸·Î´Â ¸ðµç ÅØ½ºÆ® ÀÛ¾÷À» ÆíÇÏ°Ô Çϱâ´Â ¾î·Á¿ï µí ÇÏ´Ù. ¹¦ÇÏ°Ô ºÒÆíÇÑ Á¡ÀÌ ¸î°¡Áö ÀÖ´Ù. °³ÀÎÀûÀ¸·Î´Â ÆÄÀ̽ã/Lua ÀÛ¾÷ÇÒ ¶§¸¸ ¾²°í ÀÖ´Ù. Eclipse ¿¡µðÅ͵µ ±¦ÂúÁö¸¸, ¹º°¡ ¹è¿ï °Ô ¸¹¾Æ¼ ÁÂÀý Áß. OTL
- Lua VMÀÌ ³»ÀåµÇ¾î ÀÖ´Ù. ´öºÐ¿¡ ¾î´À Á¤µµÀÇ ÇÁ·Î±×·¡¹ÖÀÌ °¡´ÉÇÏ´Ù.
2 Âü°í
function split_lines(str)
local t = {n = 0}
local function helper(line)
if string.len(line) > 0 then
table.insert(t, line)
end
end
helper((string.gsub(str, "(.-)\r?\n", helper)))
return t
end
function sort_selected_lines()
local buf = {}
local sel = editor:GetSelText()
buf = split_lines(sel)
table.sort(buf)
out = table.concat(buf, "\n")
editor:ReplaceSel(out .. "\n")
end
command.name.2.*=Sort Selected Lines
command.mode.2.*=subsystem:lua,savebefore:no,groupundo
command.shortcut.2.*=Ctrl+4
command.2.*=sort_selected_lines
2.2 ´Ü¾î Àüü ¼±ÅÃÇϱâ
ext.lua.startup.script=$(SciteDefaultHome)\scite.lua
command.name.1.*=Select Word
command.mode.1.*=subsystem:lua,savebefore:no,groupundo
command.shortcut.1.*=Ctrl+W
command.1.*=select_word
±× ´ÙÀ½ ext.lua.startup.script¿¡ ÇØ´çÇÏ´Â ·ç¾Æ ÆÄÀÏÀ» »ý¼ºÇÑ´Ù. À§ÀÇ ¿¹¿¡¼´Â "scite ½ÇÇà ÆÄÀÏÀÌ Á¸ÀçÇÏ´Â µð·ºÅ丮\scite.lua" ÆÄÀÏÀÌ´Ù. ±× ÆÄÀÏ ¾È¿¡´Ù ´ÙÀ½°ú °°Àº ³»¿ëÀ» Áý¾î³Ö´Â´Ù.
WORD_SEPERATORS =
{
[32] = true, -- (sp)
[33] = true, -- !
[34] = true, -- "
[35] = true, -- #
[36] = true, -- $
[37] = true, -- %
[38] = true, -- &
[39] = true, -- '
[40] = true, -- (
[41] = true, -- )
[42] = true, -- *
[43] = true, -- +
[44] = true, -- ,
[45] = true, -- -
[46] = true, -- .
[47] = true, -- /
[60] = true, -- <
[61] = true, -- =
[62] = true, -- >
[63] = true, -- ?
[64] = true, -- @
[91] = true, -- [
[92] = true, -- \
[93] = true, -- ]
[94] = true, -- ^
[96] = true, -- `
[123] = true, -- {
[124] = true, -- |
[125] = true, -- }
[126] = true -- ~
}
function is_word_char(char)
if (-1 < char and char < 32) or WORD_SEPERATORS[char] then
return false
else
return true
end
end
function select_word()
local begin_pos = editor.CurrentPos
local end_pos = begin_pos
while is_word_char(editor.CharAt[begin_pos-1]) do
begin_pos = begin_pos - 1
end
while is_word_char(editor.CharAt[end_pos]) do
end_pos = end_pos + 1
end
if begin_pos ~= end_pos then
editor.SelectionStart = begin_pos
editor.SelectionEnd = end_pos
end
end º¸±â´Â ¾È ÁÁ´Ù¸¸ ¾î·µç À̰ÍÀ¸·Î OK.
2.3 ½Ì±Û ÀνºÅϽº
¿©·¯ ÆÄÀÏÀ» µû·Î Ŭ¸¯Çؼ ¿ °æ¿ì, Scite À©µµ¿ì°¡ ¿©·¯ °³ ¶ß°Ô µÇ´Âµ¥, SciTEGlobal.properties ÆÄÀÏÀ» ¿¾î¼ check.if.already.open Ç׸ñÀ» 1·Î ÇØÁÖ¸é, Scite À©µµ¿ì°¡ ¶°ÀÖ´Â °æ¿ì, ±× À©µµ¿ì ³»ºÎÀÇ »õ·Î¿î ÅÇÀ¸·Î µé¾î°¡°Ô µÈ´Ù.
2.4 ÄÚµåÆäÀÌÁö ¼³Á¤
SciTEGlobal.properties ÆÄÀÏÀ» ¿¾î¼ code.page Ç׸ñÀ» ã¾Æ °ªÀ» 949·Î ÇØÁØ´Ù. ÇÑ±Û ÅØ½ºÆ®¸¦ ´Ù¸¥ ÇÁ·Î±×·¥¿¡´Ù ºÙ¿©³Ö±âÇÒ ¶§ ±úÁöÁö ¾Ê°Ô ÇØÁØ´Ù.
2.5 Åǹ٠Ȱ¼ºÈ
Åǹٰ¡ ±âº»ÀûÀ¸·Î ºñȰ¼ºÈµÇ¾î Àֱ⠶§¹®¿¡, ¼³Á¤ ÆÄÀÏ¿¡¼ tabbar.visible º¯¼ö¸¦ 1·Î ÇØÁà¾ßÇÑ´Ù. ¶ÇÇÑ buffers º¯¼ö¸¦ 1 ÀÌ»óÀ¸·Î ÇØÁà¾ßÇÑ´Ù. buffers º¯¼ö ¶ÇÇÑ ±âº»ÀûÀ¸·Î ÁÖ¼® ó¸® µÇ¾îÀÖÀ¸´Ï ÁÖÀÇ.
2.6 ÆøÀÌ ÀÏÁ¤ÇÑ ÆùÆ® »ç¿ëÇϱâ
1.61 ÀÌÇÏ ¹öÀü¿¡¼´Â Àü¿ª ¼³Á¤ ÆÄÀÏ¿¡´Ù°¡ "use.monospaced = 1" Ç׸ñ¸¸ Ãß°¡ÇÏ¸é µÇ¾úÀ¸³ª, 1.62 ¹öÀüÀ¸·Î ¿Ã¶ó°¡¸é¼ ÇØ´ç Ç׸ñÀÌ »ç¶óÁö°í ´ÙÀ½°ú °°Àº ³»¿ëÀ» Áý¾î³Ö¾î¾ßÇÑ´Ù.
font.base=font:Courier New,size:10
#font.base=$(font.monospace)
font.small=$(font.monospace)
font.comment=$(font.monospace)
font.text=$(font.monospace)
font.text.comment=$(font.monospace)
font.embedded.base=$(font.monospace)
font.embedded.comment=$(font.monospace)
font.vbs=$(font.monospace)
3 ¸µÅ©
SeriousMoin v1 (koMoinMoin 1.0a4 Modified)