<html>
<head>
<link rel="stylesheet" type="text/css" href="view.css" />
</head>
<body>
<div class="main_frame">
<p><a href="index.html">Home</a></p>
<h1 id="autovala-plugins-for-text-editors">AUTOVALA PLUGINS FOR TEXT EDITORS</h1>
<p>Autovala includes several GTK widgets that simplifies creating plugins for text editors, like GEdit or Scratch Text Editor. These widgets are <em>ProjectView</em>, <em>ActionButtons</em>, <em>FileView</em>, <em>OutputView</em> and <em>SearchView</em>. The mandatory widget is <em>ProjectView</em>, which is also the central widget. All the other ones are optional.</p>
<h2 id="using-the-plugins">Using the plugins</h2>
<p>All the plugins share the same style, since both uses the same widgets provided by Autovala.</p>
<p>There are two vertical panels, one with all the project targets and its source files, and another with all the files in the project. Doing double-click in a file will open it in the editor. Also, with right-click a context menu with more options will be shown. It allows to open the selected source file, to create a new executable/library target, or, if right-clicking on a target, open the properties dialog, which allows to change the target type (executable or library), change the base folder of the target, or set the compiler and linker option for that target. A target can also be deleted.</p>
<p>In the file view, a right click allows to create a new file or folder, rename or delete it, or choose to show or hide the hiden files.</p>
<p>Finally, there is a button and a popup menu that allows, the former, to start a new Autovala project, and the later to update the project (by running <em>autovala refresh</em> or <em>autovala update</em>), or the translation files (by running <em>autovala po</em>).</p>
<p>There are also two horizontal panels. The first one shows the output of running the autovala commans, after updating the project or the translation files. The second one allows to search strings in all the project's source files, specifying the file and the line for each occurrence. By double-clicking on each message, the file will be shown, and the cursor moved to the specific line.</p>
<p><a href="index.html">Home</a></p>
</div>
</body>
</html>
