Code for source notebook. More...
Go to the source code of this file.
Functions | |
SUB_CDECL | view_mark_clicked (BYVAL_AS_GtkSourceView_PTR SView, BYVAL_AS_GtkTextIter_PTR Iter, BYVAL_AS_GdkEvent_PTR Event, BYVAL_AS_GtkSourceBuffer_PTR Buff) |
Change mark in gutter. More... | |
SUB_CDECL_ALIAS | on_comboBookmark_changed (BYVAL_AS_GtkWidget_PTR Widget, BYVAL_AS_gpointer user_data) |
Signal handler for bookmarks combo box (id="comboBookmarks") More... | |
SUB_CDECL_ALIAS | on_CurSrc_clicked (BYVAL_AS_GtkButton_PTR Butt, BYVAL_AS_gpointer user_data) |
Handler for clicks on current source button. More... | |
Variables | |
SrcNotebook_PTR | SRC |
The global class to handle the source notebook. More... | |
Code for source notebook.
This file contains the FB code to handle the source code notebook and its tabulators.
Definition in file source.bas.
SUB_CDECL_ALIAS on_comboBookmark_changed | ( | BYVAL_AS_GtkWidget_PTR | Widget, |
BYVAL_AS_gpointer | user_data | ||
) |
Signal handler for bookmarks combo box (id="comboBookmarks")
Widget | The widget that triggered the signal |
user_data | (unused) |
This signale handler gets called when the user changed the selection of the GtkComboBoxText for the booksmarks.
Definition at line 598 of file source.bas.
SUB_CDECL_ALIAS on_CurSrc_clicked | ( | BYVAL_AS_GtkButton_PTR | Butt, |
BYVAL_AS_gpointer | user_data | ||
) |
Handler for clicks on current source button.
Butt | The button that emits the signal |
user_data | (unused) |
This signal handler gets called when the user clicks on the current source code line.
Definition at line 622 of file source.bas.
SUB_CDECL view_mark_clicked | ( | BYVAL_AS_GtkSourceView_PTR | SView, |
BYVAL_AS_GtkTextIter_PTR | Iter, | ||
BYVAL_AS_GdkEvent_PTR | Event, | ||
BYVAL_AS_GtkSourceBuffer_PTR | Buff | ||
) |
Change mark in gutter.
SView | The source view widget |
Iter | The text iter where to operate |
Event | The mouse event that triggered the signal |
Buff | (unused) |
Signal handler to create or remove a mark in the source view widgets. A left click creates a mark, a right click removes it. The type of the mark depends on the modifier keys
Type | Set (l-click) | Remove (r-click) |
---|---|---|
Breakpoint permanent | < none > | < none > or Shift or Control |
Breakpoint temporary | Shift | < none > or Shift or Control |
Breakpoint dissabled | Control | < none > or Shift or Control |
Bookmark | Other | Other |
Breakpoint marks replace existend, if any. Bookmarks can be set on top of a breackpoint, but only one bookmark per line.
Definition at line 519 of file source.bas.
SrcNotebook_PTR SRC |
The global class to handle the source notebook.
We use a pointer here, since we need to search for GtkBuilder objects in the constructor, so that the constructor must run after the XML file is loaded and parsed.
Definition at line 485 of file source.bas.