Leo API Documentation Release 4.11Dev

Total Page:16

File Type:pdf, Size:1020Kb

Leo API Documentation Release 4.11Dev Leo API Documentation Release 4.11dev Ed K. Ream Aug 18, 2018 Contents 1 leo Package 3 1.1 leo Package...............................................3 1.2 Subpackages...............................................3 1.2.1 core Package..........................................3 1.2.1.1 core Package.....................................3 1.2.1.2 bzr_version Module...............................3 1.2.1.3 format-code Module...............................3 1.2.1.4 leoApp Module...................................3 1.2.1.5 leoAtFile Module................................. 11 1.2.1.6 leoBridge Module................................. 22 1.2.1.7 leoBridgeTest Module.............................. 23 1.2.1.8 leoCache Module.................................. 23 1.2.1.9 leoChapters Module............................... 25 1.2.1.10 leoColor Module.................................. 27 1.2.1.11 leoCommands Module............................... 28 1.2.1.12 leoCompare Module................................ 40 1.2.1.13 leoConfig Module................................. 42 1.2.1.14 leoDebugger Module............................... 42 1.2.1.15 leoDynamicTest Module............................. 42 1.2.1.16 leoEditCommands Module............................ 43 1.2.1.17 leoFileCommands Module............................ 43 1.2.1.18 leoFind Module................................... 48 1.2.1.19 leoFrame Module.................................. 57 1.2.1.20 leoGlobals Module................................ 57 1.2.1.21 leoGui Module................................... 83 1.2.1.22 leoIPython Module................................ 83 1.2.1.23 leoImport Module................................. 83 1.2.1.24 leoInspect Module................................ 89 1.2.1.25 leoKeys Module................................... 89 1.2.1.26 leoMenu Module................................... 101 1.2.1.27 leoNodes Module.................................. 103 1.2.1.28 leoPlugins Module................................ 117 1.2.1.29 leoPymacs Module................................. 120 1.2.1.30 leoRst Module................................... 120 1.2.1.31 leoSessions Module............................... 120 1.2.1.32 leoShadow Module................................. 121 i 1.2.1.33 leoTangle Module................................. 124 1.2.1.34 leoTest Module................................... 128 1.2.1.35 leoUndo Module................................... 128 1.2.1.36 leoVersion Module................................ 132 1.2.1.37 runLeo Module................................... 132 1.2.2 extensions Package....................................... 132 1.2.2.1 extensions Package................................ 132 1.2.2.2 asciidoc Module.................................. 132 1.2.2.3 colors Module................................... 149 1.2.2.4 patch_11_01 Module............................... 149 1.2.2.5 sh Module....................................... 150 1.2.2.6 testExtension Module.............................. 150 1.2.3 external Package........................................ 150 1.2.3.1 external Package.................................. 150 1.2.3.2 codewise Module.................................. 150 1.2.3.3 edb Module...................................... 154 1.2.3.4 ipy_leo Module................................... 163 1.2.3.5 leoSAGlobals Module............................... 163 1.2.3.6 leoftsindex Module............................... 170 1.2.3.7 leosax Module................................... 170 1.2.3.8 lproto Module................................... 171 1.2.3.9 stringlist Module................................ 171 1.2.3.10 Subpackages...................................... 172 1.2.4 plugins Package......................................... 177 1.2.4.1 plugins Package.................................. 177 1.2.4.2 FileActions Module............................... 177 1.2.4.3 active_path Module............................... 178 1.2.4.4 add_directives Module............................. 181 1.2.4.5 at_folder Module................................. 181 1.2.4.6 at_produce Module................................ 182 1.2.4.7 at_view Module................................... 182 1.2.4.8 attrib_edit Module............................... 182 1.2.4.9 backlink Module.................................. 182 1.2.4.10 baseNativeTree Module............................. 182 1.2.4.11 bibtex Module................................... 182 1.2.4.12 bigdash Module................................... 184 1.2.4.13 bookmarks Module................................. 184 1.2.4.14 bzr_qcommands Module.............................. 184 1.2.4.15 chapter_hoist Module.............................. 184 1.2.4.16 codewisecompleter Module........................... 184 1.2.4.17 colorize_headlines Module.......................... 184 1.2.4.18 contextmenu Module............................... 184 1.2.4.19 ctagscompleter Module............................. 184 1.2.4.20 cursesGui Module................................. 184 1.2.4.21 datenodes Module................................. 184 1.2.4.22 debugger_pudb Module.............................. 185 1.2.4.23 dragdropgoodies Module............................ 185 1.2.4.24 dtest Module.................................... 185 1.2.4.25 dump_globals Module............................... 186 1.2.4.26 empty_leo_file Module............................. 186 1.2.4.27 enable_gc Module................................. 186 1.2.4.28 expfolder Module................................. 187 1.2.4.29 free_layout Module............................... 187 1.2.4.30 ftp Module...................................... 187 ii 1.2.4.31 geotag Module................................... 187 1.2.4.32 gitarchive Module................................ 187 1.2.4.33 graphcanvas Module............................... 188 1.2.4.34 gtkDialogs Module................................ 188 1.2.4.35 gtkGui Module................................... 188 1.2.4.36 import_cisco_config Module......................... 188 1.2.4.37 initinclass Module............................... 188 1.2.4.38 interact Module.................................. 189 1.2.4.39 internal_ipkernel Module........................... 189 1.2.4.40 ipython Module................................... 189 1.2.4.41 ironPythonGui Module.............................. 189 1.2.4.42 jinjarender Module............................... 189 1.2.4.43 leoOPML Module................................... 189 1.2.4.44 leo_interface Module.............................. 193 1.2.4.45 leo_pdf Module................................... 194 1.2.4.46 leo_to_html Module............................... 201 1.2.4.47 leo_to_rtf Module................................ 205 1.2.4.48 leocursor Module................................. 206 1.2.4.49 leofeeds Module.................................. 207 1.2.4.50 leofts Module................................... 208 1.2.4.51 leomail Module................................... 208 1.2.4.52 leomylyn Module.................................. 208 1.2.4.53 leoremote Module................................. 208 1.2.4.54 leoscreen Module................................. 208 1.2.4.55 lineNumbers Module............................... 208 1.2.4.56 livecode Module.................................. 209 1.2.4.57 macros Module................................... 209 1.2.4.58 maximizeNewWindows Module.......................... 210 1.2.4.59 mime Module..................................... 210 1.2.4.60 mnplugins Module................................. 211 1.2.4.61 mod_autosave Module............................... 211 1.2.4.62 mod_framesize Module.............................. 211 1.2.4.63 mod_http Module.................................. 212 1.2.4.64 mod_leo2ascd Module............................... 218 1.2.4.65 mod_read_dir_outline Module........................ 219 1.2.4.66 mod_scripting Module.............................. 219 1.2.4.67 mod_speedups Module............................... 219 1.2.4.68 mod_tempfname Module.............................. 220 1.2.4.69 mod_timestamp Module.............................. 220 1.2.4.70 multifile Module................................. 220 1.2.4.71 nav_qt Module................................... 221 1.2.4.72 nested_splitter Module............................ 221 1.2.4.73 niceNosent Module................................ 221 1.2.4.74 nodeActions Module............................... 221 1.2.4.75 nodediff Module.................................. 224 1.2.4.76 nodetags Module.................................. 226 1.2.4.77 nodewatch Module................................. 226 1.2.4.78 notebook Module.................................. 226 1.2.4.79 open_shell Module................................ 226 1.2.4.80 outline_export Module............................. 227 1.2.4.81 paste_as_headlines Module.......................... 227 1.2.4.82 pluginsTest Module............................... 227 1.2.4.83 plugins_menu Module............................... 227 1.2.4.84 pretty_print Module............................... 228 iii 1.2.4.85 projectwizard Module.............................. 229 1.2.4.86 python_terminal Module............................ 229 1.2.4.87 qtGui Module.................................... 229 1.2.4.88 qt_main Module................................... 229 1.2.4.89 qt_quicksearch Module............................. 229 1.2.4.90 qtframecommands Module............................ 229 1.2.4.91 quickMove Module................................. 229 1.2.4.92 quicksearch Module............................... 229 1.2.4.93 quit_leo
Recommended publications
  • Bilingual Online Dictionaries - a Critical Survey
    Philosophische Fakultät Chair English Language and Linguistics Prof. Dr. Josef Schmied Bilingual Online Dictionaries - A Critical Survey Magisterarbeit im Hauptfach Anglistik/Amerikanistik Janine Pecher Reitbahnstraße 38 09111 Chemnitz 0176/28131733 [email protected] 1. HF: Anglistik/Amerikanistik, 13. Semester 2. HF: Berufs- und Wirtschaftspädagogik, 11. Semester Matrikelnummer: 75639 Abgabe: 09.01.2009 Table of Contents Table of Contents List of Abbreviations ............................................................................................... III List of Figures ........................................................................................................ IV List of Tables .......................................................................................................... V 1. Introduction .......................................................................................................... 1 1.1 Object of Investigation and Problem ............................................................. 1 1.2 Disambiguation ............................................................................................. 3 1.3 Structure........................................................................................................ 4 1.4 State of Research ......................................................................................... 6 1.5 Motivation and Relevance ............................................................................. 7 2. Printed Dictionaries vs. Online Dictionaries – Typing
    [Show full text]
  • NEDLIB Glossary
    NEDLIB Glossary Authors: José Luis Borbinha, National Library of Portugal Fernando Cardoso, National Library of Portugal Nuno Freire, INESC Date of Issue: 22 February 2000 Issue: 1.0web Total Number of Pages: 46 NEDLIB Glossary TABLE OF CONTENTS TABLE OF CONTENTS...............................................................................................................................................................................i Abstract ................................................................................................................................................................................................2 Keywords..............................................................................................................................................................................................2 1. Concepts ..................................................................................................................................................................................................2 1.1 Index of Terms ............................................................................................................................................................................2 1.2 Terms Relationship ....................................................................................................................................................................6 1.3 Glossary ....................................................................................................................................................................................13
    [Show full text]
  • Leo API Documentation Release 4.11Dev
    Leo API Documentation Release 4.11dev Ed K. Ream May 31, 2018 Contents 1 leo Package 3 1.1 leo Package...............................................3 1.2 Subpackages...............................................3 1.2.1 core Package..........................................3 1.2.1.1 core Package.....................................3 1.2.1.2 bzr_version Module...............................3 1.2.1.3 format-code Module...............................3 1.2.1.4 leoApp Module...................................3 1.2.1.5 leoAtFile Module................................. 11 1.2.1.6 leoBridge Module................................. 22 1.2.1.7 leoBridgeTest Module.............................. 23 1.2.1.8 leoCache Module.................................. 23 1.2.1.9 leoChapters Module............................... 25 1.2.1.10 leoColor Module.................................. 27 1.2.1.11 leoCommands Module............................... 28 1.2.1.12 leoCompare Module................................ 40 1.2.1.13 leoConfig Module................................. 42 1.2.1.14 leoDebugger Module............................... 42 1.2.1.15 leoDynamicTest Module............................. 42 1.2.1.16 leoEditCommands Module............................ 43 1.2.1.17 leoFileCommands Module............................ 43 1.2.1.18 leoFind Module................................... 48 1.2.1.19 leoFrame Module.................................. 57 1.2.1.20 leoGlobals Module................................ 57 1.2.1.21 leoGui Module..................................
    [Show full text]
  • The Table of Equivalents / Replacements / Analogs of Windows Software in Linux
    The table of equivalents / replacements / analogs of Windows software in Linux. Last update: 16.07.2003, 31.01.2005, 27.05.2005, 04.12.2006 You can always find the last version of this table on the official site: http://www.linuxrsp.ru/win-lin-soft/. This page on other languages: Russian, Italian, Spanish, French, German, Hungarian, Chinese. One of the biggest difficulties in migrating from Windows to Linux is the lack of knowledge about comparable software. Newbies usually search for Linux analogs of Windows software, and advanced Linux-users cannot answer their questions since they often don't know too much about Windows :). This list of Linux equivalents / replacements / analogs of Windows software is based on our own experience and on the information obtained from the visitors of this page (thanks!). This table is not static since new application names can be added to both left and the right sides. Also, the right column for a particular class of applications may not be filled immediately. In future, we plan to migrate this table to the PHP/MySQL engine, so visitors could add the program themselves, vote for analogs, add comments, etc. If you want to add a program to the table, send mail to winlintable[a]linuxrsp.ru with the name of the program, the OS, the description (the purpose of the program, etc), and a link to the official site of the program (if you know it). All comments, remarks, corrections, offers and bugreports are welcome - send them to winlintable[a]linuxrsp.ru. Notes: 1) By default all Linux programs in this table are free as in freedom.
    [Show full text]
  • External Factors in Sustainability of Open Source Software
    External Factors in Sustainability of Open Source Software Marat Valiev CMU-ISR-21-103 February 2021 Institute for Software Research School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 Thesis Committee: James Herbsleb (Chair) Bogdan Vasilescu (Co-Chair) Audris Mockus (University of Tennessee) Vladimir Filkov (UC Davis) Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Societal Computing. Copyright © 2021 Marat Valiev Keywords: Collaborative Software Development, Empirical Software Engineering, Open Source Abstract Modern software development is heavily reliant on Open Source. It saves time and money, but, as any other non-commercial software, it comes on as-is basis. If not properly maintained or even abandoned by its community, Open Source Software (OSS) might impose extra costs or introduce bugs to the downstream projects. While software developers are well aware of these premises, existing techniques of miti- gating such risks assume sustainability to be an intrinsic property of OSS, largely ignoring external factors. With plenty of examples of even high profile projects failing because of bugs in upstream dependencies, funding issues, lost competition or key developers left, it is important to understand the effect of these factors on OSS sustainability. Using a combination of quantitative and qualitative methods, this dissertation ex- plores effects of external factors in OSS sustainability, the mechanisms behind them, and proposes tools to make certain risk factors more visible. The findings indicate that multiple external factors, such as reused libraries, dependent projects and organi- zational involvement, play a significant role in OSS projects sustainability. Projects serving end users and end programmers are particularly at risk to be overwhelmed by excessive number of requests, especially questions.
    [Show full text]
  • Pyrpl Documentation Release 0.9.4.0
    pyrpl Documentation Release 0.9.4.0 Leonhard Neuhaus Nov 19, 2017 Contents 1 Manual 3 2 Low-level API example 67 3 High-level API example 69 4 Feedback by PyRPL users 71 5 Publications about PyRPL 73 6 Contributors 75 7 Funding and support 77 8 About 79 9 Old documentation sections 81 10 Current build status 83 11 Releases 85 i ii pyrpl Documentation, Release 0.9.4.0 PyRPL is an open-source software package providing many instruments on cheap FPGA hardware boards, e.g.: • oscilloscopes, • network analyzers, • lock-in amplifiers, • multiple automatic feedback controllers, • digital filters of very high order (24), • and much more. PyRPL currently runs exclusively on the Red Pitaya. The Red Pitaya (a.k.a. STEM Lab) (http://www.redpitaya.com, see full documentation) is an affordable (ca. 260 Euros) FPGA board with fast (125 MHz) analog inputs and outputs. PyRPL comes with a graphical user interface (GUI). See our GUI manual or the video tutorial on youtube. PyRPL has a convenient Python API. See High-level API example or Low-level API example, and the full API documentation . PyRPL binary executables for Windows, Linux, or Mac OS X can be easily downloaded and run without any installation work. PyRPL’s code is entirely public on github and can be customized, including the Verilog source code for the FPGA which is based on the official Red Pitaya software version 0.95. PyRPL is already used in many research groups all over the world. See for yourself the user_feedback. PyRPL is free software and comes with the GNU General Public License v3.0.
    [Show full text]
  • Smith 2001 Report.Pdf (1.328Mb)
    TOWARDS MODERN LITERATE PROGRAMMING Honours Project Report, 2001 Matthew Smith Dr. Neville Churcher (Supervisor) ABSTRACT Literate programming was invented by Donald Knuth as a technique for improved documenta­ tion of program understanding. It involves writing code and documentation in a single source document, ordered for comprehension by humans rather than computers. Despite its ability to produce software of higher quality and maintainability, the technique is not widely used. In this report, we present a comprehensive background of literate programming that shows what the methodology is currently capable of. We also isolate the factors that limit its mainstream use, forming a set of requirements for further work. KEYWORDS: literate programming, software comprehension, structured documentation CONTENTS 1 INTRODUCTION 2 1.1 The software comprehension problem 2 1.2 Motivation and approach . 3 2 BACKGROUND 4 2.1 What is literate programming? 4 2.2 Components of a literate program 5 2.3 Typical features . 7 2.3.1 Language support 7 2.3.2 Macros . 7 2.3.3 Pretty-printing . 7 2.3.4 Indexing and cross-referencing 8 2.3.5 Processing intelligence . 9 2.4 Literate programming systems 9 2.4.1 The WEB family .. 9 2.4.2 noweb and nuweb 10 2.4.3 FunnelWeb 11 2.4.4 CLiP .... 11 2.4.5 Interscript . 11 2.5 Uses and examples 11 2.6 Alternative documentation techniques . 12 2.6.1 Single source methods .. 12 2.6.2 Multiple source methods 13 2.7 Summary . 13 3 PROBLEMS AND LIMITATIONS 14 3.1 Issues of philosophy .......... 14 3.1.1 Programs as works of literature .
    [Show full text]
  • A Survey on Performance of Different Text Editor
    International Journal of Emerging Science and Engineering (IJESE) ISSN: 2319–6378, Volume-1 Issue-9, July 2013 A Survey on Performance of different Text Editor Virendra Kumar Swarnkar, K. J. Satao Abstract: A program that allows its user to pen, view, and edit By folding sections of a document, the users can reduce plain text files is known as Text Editor. On contrary to word clutter in the document and just focus on the areas that are processors, text editors focuses on editing functions for plain text important at any given moment. Essentially, folding creates an instead of adding formatting to text. Text editors serve wide variety of people with wide variety of purposes. Text Editors are generally outline based on the document, and allows the users to used by software programmers and web developers use text editors collapse levels of the outline when the users want to. to write and edit in programming and markup languages. Line and word wrapping: However, text editors are ideal tools for anyone who needs to write Lines are endless (or very nearly so) until the user hit enter quickly and simply, read source code, or create text files. One of and start a new line. Line wrapping is a display preference in the most useful tools in a text editor's repertoire is Syntax most text editors that will wrap (or break) lines when they Highlighting. Programming/markup languages codes are written in color. Text Editing can be efficiently done both in static as well reach a certain length. The wrapping does not affect the line as dynamic environment using a efficient Text Editor.
    [Show full text]
  • Chapter 12 Comparing Bilingual Word Embeddings to Translation Dictionaries for Extracting Multilingual Collocation Equivalents Marcos Garcia Universidade Da Coruña
    Chapter 12 Comparing bilingual word embeddings to translation dictionaries for extracting multilingual collocation equivalents Marcos Garcia Universidade da Coruña This chapter introduces a strategy for the automatic extraction of multilingual col- location equivalents which takes advantage of parallel corpora to train bilingual word embeddings. First, monolingual collocation candidates are retrieved using syntactic dependencies and standard association measures. Then, the distributional models are applied to search for equivalents of the elements of each collocation in the target languages. The proposed method extracts not only collocation equiva- lents with direct translations between languages, but also other cases where the collocations in the two languages are not literal translations of each other. Several experiments – evaluating collocations with five syntactic patterns – in English, Spanish, and Portuguese show that this approach can effectively extract large sets of bilingual equivalents with an average precision of about 85%. Moreover, prelim- inary results on comparable corpora suggest that the distributional models can be applied for identifying new bilingual collocations in different domains. This strat- egy is compared to both hand-crafted bilingual dictionaries and to probabilistic translation dictionaries learned from the same resources as the bilingual word em- beddings, showing that it achieves much larger recall values while keeping high precision results. 1 Introduction MWEs have been repeatedly classified as an important problem for developing Natural Language Processing (NLP) tools, as well as to automatically analyze Marcos Garcia. 2018. Comparing bilingual word embeddings to translation dictionar- ies for extracting multilingual collocation equivalents. In Stella Markantonatou, Car- los Ramisch, Agata Savary & Veronika Vincze (eds.), Multiword expressions at length and in depth: Extended papers from the MWE 2017 workshop, 319–342.
    [Show full text]
  • Investigations Involving the Internet and Computer Networks
    U.S. Department of Justice Office of Justice Programs J National Institute of Justice AN. 07 Special REPORT Investigations Involving the Internet and Computer Networks www.ojp.usdoj.gov/nij U.S. Department of Justice Office of Justice Programs 810 Seventh Street N.W. Washington, DC 20531 Alberto R. Gonzales Attorney General Regina B. Schofield Assistant Attorney General David W. Hagy Deputy Assistant Attorney General, Office of Justice Programs and Principal Deputy Director, National Institute of Justice This and other publications and products of the National Institute of Justice can be found at: National Institute of Justice www.ojp.usdoj.gov/nij Office of Justice Programs Partnerships for Safer Communities www.ojp.usdoj.gov JAN. 07 Investigations Involving the Internet and Computer Networks NCJ 210798 David W. Hagy Deputy Assistant Attorney General, Office of Justice Programs and Principal Deputy Director, National Institute of Justice This document is not intended to create, does not create, and may not be relied upon to create any rights, substantive or procedural, enforceable by law by any party in any matter civil or criminal. Opinions or points of view expressed in this document represent a consensus of the authors and do not necessarily reflect the official position or policies of the U.S. Department of Justice. The products, manufacturers, and organizations discussed in this document are presented for informational purposes only and do not constitute product approval or endorsement by the U.S. Department of Justice. This document was prepared under Interagency Agreement #2003–IJ–R–029 between the National Institute of Justice and the National Institute of Standards and Technology, Office of Law Enforcement Standards.
    [Show full text]
  • PDF Export Commands
    The Org Manual Release 9.4 The Org Mode Developers This manual is for Org version 9.4. Copyright c 2004{2021 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with the Front-Cover Texts being \A GNU Manual," and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled \GNU Free Documentation License." (a) The FSF's Back-Cover Text is: \You have the freedom to copy and modify this GNU manual." i Table of Contents 1 Introduction::::::::::::::::::::::::::::::::::::: 1 1.1 Summary :::::::::::::::::::::::::::::::::::::::::::::::::::::: 1 1.2 Installation :::::::::::::::::::::::::::::::::::::::::::::::::::: 1 1.3 Activation ::::::::::::::::::::::::::::::::::::::::::::::::::::: 2 1.4 Feedback::::::::::::::::::::::::::::::::::::::::::::::::::::::: 3 1.5 Typesetting Conventions Used in this Manual :::::::::::::::::: 4 2 Document Structure:::::::::::::::::::::::::::: 6 2.1 Headlines :::::::::::::::::::::::::::::::::::::::::::::::::::::: 6 2.2 Visibility Cycling::::::::::::::::::::::::::::::::::::::::::::::: 6 2.2.1 Global and local cycling ::::::::::::::::::::::::::::::::::: 6 2.2.2 Initial visibility:::::::::::::::::::::::::::::::::::::::::::: 8 2.2.3 Catching invisible edits :::::::::::::::::::::::::::::::::::: 8 2.3 Motion::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 8 2.4 Structure
    [Show full text]