![]() ![]() installed = True def fancy_activate_editor ( default = False ): """ Activates the editor in persistent.editor, if it's installed. lower ())) # If we're in a linux distro or something, assume all editors work. append ( FancyEditorInfo ( 5, "None", "Prevents Ren'Py from opening a text editor.", None )) fei. append ( FancyEditorInfo ( 4, k, None, None )) fei. rpy files.", None )) for k in editors : if k in : continue fei. append ( FancyEditorInfo ( 3, "System Editor", "Invokes the editor your operating system has associated with. append ( FancyEditorInfo ( 2, "jEdit", "A mature editor that requires Java.", "jedit", _ ( "1.8 MB download required." ), _ ( "This may have occured because Java is not installed on this system." ), )) fei. basedir, "editra/Editra" )) description = EDL error_message = _ ( "The may have occured because wxPython is not installed on this system." ) e = FancyEditorInfo ( 1, "Editra", description, dlc, _ ( "Up to 22 MB download required." ), error_message ) e. basedir, "editra/Editra-mac.app" )) description = ED error_message = None else : dlc = "editra-linux" installed = os. macintosh : dlc = "editra-mac" installed = os. ![]() basedir, "editra/Editra-win32" )) description = ED error_message = None elif renpy. windows : dlc = "editra-windows" installed = os. On Linux, Editra requires wxPython." ) if renpy. Editra currently lacks the IME support required for Chinese, Japanese, and Korean text input. editors = A beta editor with an easy to use interface and features that aid in development, such as spell-checking. environ # A map from editor name to EditorInfo object. init python in editor : from store import Action, renpy, config, persistent import store.project as project import store.updater as updater import store.interface as interface import store import glob import re import traceback import os import os.path # Should we set up the editor? set_editor = "RENPY_EDIT_PY" not in os. # This contains code for scanning for editors, and for allowing the user to # select an editor. All in all, Editra comprises a wide range of options for helping developers read and write code.# Copyright 2004-2012 Tom Rothamel # See LICENSE.txt for license details. We have not encountered any issues in our tests, since the app did not hang, crash or pop up error dialogs. cut, delete, duplicate, insert before or after a line), toggle bookmarks, enable word completion mode, use a search function when dealing with large amounts of data and replace text, as well as zoom in and out.įurthermore, you can highlight the background of the current line, show indentation guides and white space, save the current window layout, toggle all folds, go to a line number, change font settings, enable word wrap, disable syntax highlighting, and customize menu items, among others.įrom the Preferences panel you can select the editor and printer mode for the startup, switch to a different language for the UI, enable automatic file backups, choose the encoding method, customize the icons, layout, transparency and display font, set proxy properties, and so on.Įditra runs on a moderate-to-high quantity of CPU and system memory, has a good response time to key strokes and mouse commands, and works smoothly. The tool supports multiple tabs, so you can work on more than one project at the same time. Editra is a word processing program which supplies programmers and web developers with tools for writing code in a user-friendly interface.Īfter a quick and uneventful installation procedure, you can check out the standard window with the familiar layout, representing Editra's GUI.
0 Comments
Leave a Reply. |