Skip to content

Latest commit

 

History

History
102 lines (54 loc) · 9.02 KB

helpers.md

File metadata and controls

102 lines (54 loc) · 9.02 KB

Back

Information

Scripts for SciTE

  • swapheader move from a .c to a .h. Read the "Installing someone else's Lua script" section in this guide for installation instructions.

  • autoblock.zip lua scripts for block completion, by Mario Ray M.

  • See ascii codes in selection

  • smartpaste, lua script to correctly indent pasted code

  • scitecmd open files in SciTE from the Windows command line

  • SciTE Windows Context menu, by andre burgaud

  • Orthospell, spellcheck for SciTE, based on luahunspell

  • extman

    • dispatches scite events so that many lua scripts can be installed at the same time without conflict. You might have several different scripts that each need to respond to the OnOpen event, and extman lets each script coexist.
  • live markdown preview from SciTE

  • Mitchell's SciTE Tools, text-editing utilities including snippets.lua

  • Serge Baranov's scripts using Perl to reformat/clean up whitespace in a document

  • yipf's SciTEStartup.lua has some useful scripts for automatically closing braces, expanding snippets when Tab is pressed, spell check, word counting, moving to the beginning/end of a sentence, and more

  • I've archived the content of lua-users SciTE scripts using wayback machine to recover most of the missing content. containing many lua scripts for SciTE, including scripts for AsciiTable, AutoCompleteAnyLanguage, AutoExpansion, BackupFile, BufferSwitch, Calculator, CleanDocWhitespace, CleanWhiteLines, ColouriseDemo, CommentBox, ConvertDecHex, CustomFolding, Debug, DeleteBlankLines, DisplayFunctions, EditWithVim, ElizaClassic, ExternalFileBrowser, ExtMan, Favs, FileBrowser, FuncList, HexEdit, Hexify, HtmlEntities, Indentation, InplaceCalculator, InsertDate, JavadocComment, Latex, LineBreak, ListAllOccurances, LuaDll, LuaPrompt, MacroExpander, MakeMonospace, ManPages, MarkWord, MergeOnChange, MiscScripts, NumberedBookmarks, OpenFilename, OpenPhpLocalhost, OpenToLine, OpenUrl, Other, ProcessString, Programmers, ProgrammingUtils, QuickStartXhtml, ReadTags, RunOneScript, ScriptManager, Scripts, SimpleTemplate, SortSelection, StripTrailings, TabsToSpacesObserveTabstop, Tags, TextFolding, TicTacToe, TitleCase, UnicodeInput, UsingUnicode, WordSelect, WordSubstitution, and XmlAutocompletion. The original wiki was here

  • here are some lua scripts from the my-scite project including AutoComplete, Calculator, HexEdit, Socket, and sortText. myScite also includes completing snippets, the orthospell spell-checker, custom language parsers via scintillua, debugging/stepping capabilities, and a sidebar for lua ui. see more at the myScite project.

  • here are some lua scripts from the scite-ru project including move_lines, abbrevlist, ascii_table, auto_backup, auto_complete_object, change_comment_char, codepage, code_poster2, code_poster_html, color_set, copymarkedlines, css_formatter, event_manager, exec, find_text, fold_text, font_changer, goto_line, highlighting_identical_text, highlighting_text, highlight_links, html_tags_autoclose, indent_tab_to_space, insertspecialchar, lexer_name, luainspect_install, macro_support, make_abbrev, movemenuitem, new_file, open_selected_filename, open_find_files, paired_tags, readonly, recode, rename, restore_recent, rocheck, rowrite, save_settings, set_html, showcalltip, sidebar, smartbraces, smartcomment, sort_text, style_changer, svn_menu, translit, url_detect, value, xcomment, and zoom

  • here are some lua scripts from the scite_scripts project including gitdiff, mark_word, and xml_close_tag

  • Lua Exporters includes an enhanced PDF exporter (with line wrapping and kerning), an OpenOffice.org format exporter, an AbiWord format exporter, and an ODT (Open Document) exporter.

  • Kein-Hong Man has developed a calculator script and hex editor script that run within SciTE

Lua utilities

Building blocks for SciTE lua scripts

  • moltenform_scite_utils.lua and its API documentation

  • extman

  • some lua utilities from the myscite project including running COM from lua, listing lua definitions, parsing CTags, and adding per-project CTags support, and snippets. also, lua utilities for bit manipulation, classes, md5, regular expresions, and the "serpent" pretty printer.

  • scite_msg

    • a command-line tool that can send messages to a scite window, by Ben Fisher (uses some code from scite_other)
  • scite_other

    • example code that finds a SciTE instance and sends it a message, or starts a new SciTE instance if none found, by Steve Donovan
  • lua_shell_dll

    • this lua extension library, place in the same directory as scite, allows scite lua scripts to call:
    • shell.msgbox Showing text message with buttons.
    • shell.inputbox Display dialog box for input some text value.
    • shell.getfileattr, shell.setfileattr, `shell.fileexists
    • shell.exec a prettier 'exec' (to start a process) that doesn't show a window
    • shell.findfiles Searches for files and folders with mask and returned result as the table.
  • scite_lua_startprocess

    • this lua extension library, place in the same directory as scite, allows scite lua scripts to call:
    • shell.exec a prettier 'exec' (to start a process) that doesn't show a window
  • SciTE.Helper

    • an ActiveX control that can send messages to scite, can be used by jscript/vbscript and probably a hta UI
  • scite-strip-wrapper shows how to add strip dialog in SciTE so that your lua scripts can show UI

Gui addons / patches

Add to this page

You can add to this page by submitting a pull request, or sending an e-mail to scitewiki at gmail dot com