fbdbg  3.0
FreeBASIC Debugger
source.bas File Reference

Code for source notebook. More...

This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Code for source notebook.

This file contains the FB code to handle the source code notebook and its tabulators.

Since
3.0

Definition in file source.bas.

Function Documentation

SUB_CDECL_ALIAS on_comboBookmark_changed ( BYVAL_AS_GtkWidget_PTR  Widget,
BYVAL_AS_gpointer  user_data 
)

Signal handler for bookmarks combo box (id="comboBookmarks")

Parameters
WidgetThe 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.

Todo:
Enter code

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.

Parameters
ButtThe 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.

Parameters
SViewThe source view widget
IterThe text iter where to operate
EventThe 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.

Here is the caller graph for this function:

Variable Documentation

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.