#include "openldev-utils.h"
#include "openldev-menu-callbacks.h"
#include "openldev-widgets/openldev-goto-line-toolbar.h"
#include "openldev-widgets/openldev-find-toolbar.h"
#include "openldev-widgets/openldev-menu.h"
#include "openldev-widgets/openldev-file-manager.h"
#include "openldev-widgets/openldev-output-manager.h"
#include "openldev-widgets/openldev-sidebar.h"
#include "openldev-widgets/openldev-status-bar.h"
#include "openldev-settings/openldev-editor.h"
#include "openldev-settings/openldev-settings.h"
#include "openldev-settings/openldev-project.h"
#include "openldev-plugin.h"
#include <glib-object.h>
#include <glib.h>
|
The version of the release you are coding for. |
|
The Find and Replace dialog is shown to the user.
|
|
Jump to the specified line number of the current document. If there is no document open, nothing will be done. If -1 is passed to line_number, the Goto Line toolbar will be opened.
|
|
Every time files are opened or closed, this function must be called. It enables and disables menu and toolbar items as necessary.
|
|
Run the Automatic Generation command specified by the project.
|
|
Run the Clean command specified by the project.
|
|
Run the Compile command specified by the project. All instances of {FILE} in the command are replaced by the full path of the current file.
|
|
Run the Configure (./configure) command specified by the project.
|
|
Execute the binary built by the build command by the project.
|
|
Run the Build (make) command specified by the project.
|
|
Stop any build command currently running. This excludes the Execute command.
|
|
Copy any selected text in the current file on to the Clipboard.
|
|
Copy any selected text in the current file on to the Clipboard and delete it from the buffer.
|
|
Unselect any selected text in the current file.
|
|
Open or close the Find toolbar. To actually search for text, you must call the "openldev_menu_edit_find_next" function.
|
|
Find the next occurrence of the specified string in the current file. If "Search all files" is selected, all source files will be searched and the output will be shown in the Search output tab.
|
|
Show or hide the Goto Line toolbar. To actually jump to a line, you must call the "openldev_goto_to_line_number" function.
|
|
Indent the buffer to the level of the previous line.
|
|
Insert the text from the Clipboard into the current buffer. If there is selected text, it will be replaced.
|
|
Allow the user to edit general preferences for the application. These includes options for the editor, syntax highlighting and plugins.
|
|
Redo the last action that was undone by the user. This is performed on the current file.
|
|
Select all of the text in the current file.
|
|
Undo the last action that was done by the user. This is performed on the current file.
|
|
Remove all white space at the beginning of the line.
|
|
Close the project that is currently open. If there is no project open, nothing will happen.
|
|
Create a new OpenLDev project file in the specified source directory. This will use the default build commands.
|
|
Show the dialog that allows the user to create a new file. If a new file is successfully created, it will be automatically opened in a new tab.
|
|
Show the dialog that allows the user to create a new project. If a new project is successfully created, it will be loaded in the editor and Auto Generate will be run.
|
|
Allow the user to choose a file to be opened in the editor. This is done using the GtkFileChooserDialog.
|
|
Allow the user to choose a project to be opened in the editor. This is done using the GtkFileChooserDialog.
|
|
Show the print dialog for the current file. This function should not be called if no files are open.
|
|
Show the print preview dialog for the current file. This function should not be called if no files are open.
|
|
Revert to the saved version of a file. If the file as been modified, permission will be asked from the user before this is done.
|
|
Save the current file under its current file name.
|
|
Save all of the open files that have been modified since the last save.
|
|
Save the current file under a new file name.
|
|
Show the about dialog. This contains version, copyright and developer information.
|
|
Launch the DevHelp application if it is installed on the system.
|
|
Launch a browser containing the documentation web site. This will be done in the default Gnome web browser.
|
|
Launch a browser containing the bug reporting web site. This will be done in the default Gnome web browser.
|
|
Show basic information about the current project such as the number of lines and files.
|
|
Allow the user to edit basic settings in their project such as build commands and version number.
|
|
Show or hide the project file browser. This will happen to the whole GtkNotebook, so any plugins in another tab will also be shown or hidden.
|
|
Show or hide the line numbering in each of the open files.
|
|
Show or hide the project output manager. This will happen to the whole GtkNotebook, so any plugins in another tab will also be shown or hidden.
|
|
Show or hide the status bar and progress bar.
|
|
Show or hide the whole toolbar.
|
|
A file with the specified name is opened in a new tab of the FileManager. You must specify the full path of the file name.
|
|
A project at the specified location is closed. If a project is already opened, it will first be closed.
|
|
This is a convenience function that calls "openldev_browser_project_populate" on the current BrowserProject object.
|