.. highlightlang:: us .. index:: Overview Editors, Editors .. _overview-editors: Overview Editors ================ The editor is a text editor for editing UniScript source code, text and data files in text format (UTX files). The :ref:`EdCreate` functions creates a new editor window. The function returns a handle (a number greater than 0) to the editor. To destroy the editor window call :ref:`EdDestroy`.. The :ref:`EdSetText` function can be used to insert text via UniScript into the editor. :ref:`EdGetText` returns the complete text of an editor. .. us.example **Example** :: hedit = EdCreate(); EdSetText(hedit, "First text liner\nSecond text line"); EdPrint(hedit); EdDestroy(hedit); Some features: * Syntax-Highlighting for UniScript- and XML-files. * Multistep Undo/Redo. * Handles big data files (> 100 MB). * Rectangular selection (hold Alt key and select using the mouse). * Read and write UNICODE files. .. us.indexlist CreateandDestroyEdCreateSynEdCreateEdDes,Create and Destroy,EdCreate,EdDestroy, .. include:: ../ftab/CreateandDestroyEdCreateSynEdCreateEdDes.ftab .. us.makeindex EdSet, Set .. include:: ../ftab/EdSet.ftab .. us.makeindex EdGet, Get .. include:: ../ftab/EdGet.ftab .. seealso:: :ref:`functions-by-categories` :sub:`id-2064106`