GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::marker Class Reference

#include "marker.h"

Inheritance diagram for octave::marker:
Collaboration diagram for octave::marker:

Public Types

enum  editor_markers {
  breakpoint , cond_break , unsure_breakpoint , bookmark ,
  debugger_position , unsure_debugger_position , selection
}
 

Public Slots

void handle_find_just_after (int linenr, int &original_linenr, int &editor_linenr)
 
void handle_find_just_before (int linenr, int &original_linenr, int &editor_linenr)
 
void handle_find_translation (int original_linenr, int &editor_linenr, marker *&bp)
 
void handle_marker_line_deleted (int mhandle)
 
void handle_marker_line_undeleted (int mhandle)
 
void handle_remove (void)
 
void handle_remove_via_original_linenr (int original_linenr)
 
void handle_report_editor_linenr (QIntList &lines, QStringList &conditions)
 
void handle_request_remove_via_editor_linenr (int editor_linenr)
 

Signals

void request_remove (int original_linenr)
 

Public Member Functions

 marker (QsciScintilla *edit_area, int original_linenr, editor_markers marker_type, const QString &condition="")
 
 marker (QsciScintilla *edit_area, int original_linenr, editor_markers marker_type, int editor_linenr, const QString &condition="")
 
 ~marker (void)=default
 
const QString & get_cond (void) const
 
void set_cond (const QString &cond)
 

Private Member Functions

void construct (QsciScintilla *edit_area, int original_linenr, editor_markers marker_type, int editor_linenr, const QString &condition)
 

Private Attributes

QString m_condition
 
QsciScintillam_edit_area
 
editor_markers m_marker_type
 
int m_mhandle
 
int m_original_linenr
 

Detailed Description

Definition at line 44 of file marker.h.

Member Enumeration Documentation

◆ editor_markers

Enumerator
breakpoint 
cond_break 
unsure_breakpoint 
bookmark 
debugger_position 
unsure_debugger_position 
selection 

Definition at line 53 of file marker.h.

Constructor & Destructor Documentation

◆ marker() [1/2]

octave::marker::marker ( QsciScintilla edit_area,
int  original_linenr,
editor_markers  marker_type,
const QString &  condition = "" 
)

Definition at line 44 of file marker.cc.

References construct().

◆ marker() [2/2]

octave::marker::marker ( QsciScintilla edit_area,
int  original_linenr,
editor_markers  marker_type,
int  editor_linenr,
const QString &  condition = "" 
)

Definition at line 36 of file marker.cc.

References construct().

◆ ~marker()

octave::marker::~marker ( void  )
default

Member Function Documentation

◆ construct()

void octave::marker::construct ( QsciScintilla edit_area,
int  original_linenr,
editor_markers  marker_type,
int  editor_linenr,
const QString &  condition 
)
private

Definition at line 51 of file marker.cc.

References m_condition, m_edit_area, m_marker_type, m_mhandle, and m_original_linenr.

Referenced by marker().

◆ get_cond()

const QString& octave::marker::get_cond ( void  ) const
inline

Definition at line 73 of file marker.h.

References m_condition.

Referenced by octave::file_editor_tab::do_breakpoint_marker().

◆ handle_find_just_after

void octave::marker::handle_find_just_after ( int  linenr,
int &  original_linenr,
int &  editor_linenr 
)
slot

Definition at line 110 of file marker.cc.

References m_edit_area, m_mhandle, and m_original_linenr.

◆ handle_find_just_before

void octave::marker::handle_find_just_before ( int  linenr,
int &  original_linenr,
int &  editor_linenr 
)
slot

Definition at line 100 of file marker.cc.

References m_edit_area, m_mhandle, and m_original_linenr.

◆ handle_find_translation

void octave::marker::handle_find_translation ( int  original_linenr,
int &  editor_linenr,
marker *&  bp 
)
slot

Definition at line 90 of file marker.cc.

References m_edit_area, m_mhandle, and m_original_linenr.

◆ handle_marker_line_deleted

void octave::marker::handle_marker_line_deleted ( int  mhandle)
slot

◆ handle_marker_line_undeleted

void octave::marker::handle_marker_line_undeleted ( int  mhandle)
slot

◆ handle_remove

void octave::marker::handle_remove ( void  )
slot

Definition at line 84 of file marker.cc.

References m_edit_area, and m_mhandle.

◆ handle_remove_via_original_linenr

void octave::marker::handle_remove_via_original_linenr ( int  original_linenr)
slot

Definition at line 62 of file marker.cc.

References m_edit_area, m_mhandle, and m_original_linenr.

◆ handle_report_editor_linenr

void octave::marker::handle_report_editor_linenr ( QIntList lines,
QStringList &  conditions 
)
slot

Definition at line 120 of file marker.cc.

References m_condition, m_edit_area, and m_mhandle.

◆ handle_request_remove_via_editor_linenr

void octave::marker::handle_request_remove_via_editor_linenr ( int  editor_linenr)
slot

Definition at line 71 of file marker.cc.

References m_edit_area, m_mhandle, m_original_linenr, and request_remove().

◆ request_remove

void octave::marker::request_remove ( int  original_linenr)
signal

◆ set_cond()

void octave::marker::set_cond ( const QString &  cond)
inline

Definition at line 75 of file marker.h.

References m_condition.

Referenced by octave::file_editor_tab::do_breakpoint_marker().

Member Data Documentation

◆ m_condition

QString octave::marker::m_condition
private

Definition at line 107 of file marker.h.

Referenced by construct(), get_cond(), handle_report_editor_linenr(), and set_cond().

◆ m_edit_area

◆ m_marker_type

editor_markers octave::marker::m_marker_type
private

Definition at line 105 of file marker.h.

Referenced by construct(), handle_marker_line_deleted(), and handle_marker_line_undeleted().

◆ m_mhandle

◆ m_original_linenr


The documentation for this class was generated from the following files: