GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
gui-preferences-ed.h File Reference
#include <Qsci/qsciscintilla.h>
#include "gui-preferences.h"
#include "localcharset-wrapper.h"
Include dependency graph for gui-preferences-ed.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  find_dialog_options {
  FIND_DLG_MORE = 1 , FIND_DLG_CASE = 2 , FIND_DLG_START = 4 , FIND_DLG_WRAP = 8 ,
  FIND_DLG_REGX = 16 , FIND_DLG_WORDS = 32 , FIND_DLG_BACK = 64 , FIND_DLG_SEL = 128
}
 

Functions

const gui_pref ed_always_reload_changed_files ("editor/always_reload_changed_files", QVariant(false))
 
const gui_pref ed_auto_endif ("editor/auto_endif", QVariant(1))
 
const gui_pref ed_auto_indent ("editor/auto_indent", QVariant(true))
 
const gui_pref ed_backspace_unindents_line ("editor/backspace_unindents_line", QVariant(false))
 
const gui_pref ed_break_lines ("editor/break_lines", QVariant(false))
 
const gui_pref ed_break_lines_comments ("editor/break_lines_comments", QVariant(false))
 
const gui_pref ed_code_completion ("editor/codeCompletion", QVariant(true))
 
const gui_pref ed_code_completion_case ("editor/codeCompletion_case", QVariant(true))
 
const gui_pref ed_code_completion_document ("editor/codeCompletion_document", QVariant(true))
 
const gui_pref ed_code_completion_keywords ("editor/codeCompletion_keywords", QVariant(true))
 
const gui_pref ed_code_completion_octave_builtins ("editor/codeCompletion_octave_builtins", QVariant(true))
 
const gui_pref ed_code_completion_octave_functions ("editor/codeCompletion_octave_functions", QVariant(true))
 
const gui_pref ed_code_completion_replace ("editor/codeCompletion_replace", QVariant(false))
 
const gui_pref ed_code_completion_threshold ("editor/codeCompletion_threshold", QVariant(2))
 
const gui_pref ed_code_folding ("editor/code_folding", QVariant(true))
 
const gui_pref ed_comment_str ("editor/oct_comment_str", QVariant(0))
 
const gui_pref ed_comment_str_old ("editor/octave_comment_string", QVariant(0))
 
const QStringList ed_comment_strings (QStringList()<< "##"<< "#"<< "%"<< "%%"<< "%!")
 
const gui_pref ed_create_new_file ("editor/create_new_file", QVariant(false))
 
const gui_pref ed_default_enc ("editor/default_encoding", QVariant(QString("SYSTEM (")+QString(octave_locale_charset_wrapper()).toUpper()+QString(")")))
 
const gui_pref ed_default_eol_mode ("editor/default_eol_mode", QVariant(os_eol_mode))
 
const gui_pref ed_fdlg_opts ("editor/fdgl_opts", QVariant(FIND_DLG_WRAP))
 
const gui_pref ed_fdlg_pos ("editor/fdgl_pos", QVariant(QPoint(0, 0)))
 
const gui_pref ed_fdlg_replace ("editor/fdgl_replace", QVariant())
 
const gui_pref ed_fdlg_search ("editor/fdgl_search", QVariant())
 
const gui_pref ed_hiding_closes_files ("editor/hiding_closes_files", QVariant(false))
 
const gui_pref ed_highlight_all_occurrences ("editor/highlight_all_occurrences", QVariant(true))
 
const gui_pref ed_highlight_current_line ("editor/highlightCurrentLine", QVariant(true))
 
const gui_pref ed_highlight_current_line_color ("editor/highlight_current_line_color", QVariant(QColor(240, 240, 240)))
 
const gui_pref ed_indent_uses_tabs ("editor/indent_uses_tabs", QVariant(false))
 
const gui_pref ed_indent_width ("editor/indent_width", QVariant(2))
 
const QString ed_last_comment_str ("editor/oct_last_comment_str")
 
const gui_pref ed_line_numbers_size ("editor/line_numbers_size", QVariant(0))
 
const gui_pref ed_long_line_column ("editor/long_line_column", QVariant(80))
 
const gui_pref ed_long_line_marker ("editor/long_line_marker", QVariant(true))
 
const gui_pref ed_long_line_marker_background ("editor/long_line_marker_background", QVariant(false))
 
const gui_pref ed_long_line_marker_line ("editor/long_line_marker_line", QVariant(true))
 
const gui_pref ed_long_window_title ("editor/longWindowTitle", QVariant(false))
 
const gui_pref ed_mru_file_encodings ("editor/mru_file_encodings", QVariant())
 
const gui_pref ed_mru_file_list ("editor/mru_file_list", QVariant())
 
const gui_pref ed_notebook_tab_width_max ("editor/notebook_tab_width_max", QVariant(300))
 
const gui_pref ed_notebook_tab_width_min ("editor/notebook_tab_width_min", QVariant(160))
 
const gui_pref ed_restore_session ("editor/restoreSession", QVariant(true))
 
const gui_pref ed_session_enc ("editor/saved_session_encodings", QVariant(QStringList()))
 
const gui_pref ed_session_ind ("editor/saved_session_tab_index", QVariant(QStringList()))
 
const gui_pref ed_session_lines ("editor/saved_session_lines", QVariant(QStringList()))
 
const gui_pref ed_session_names ("editor/savedSessionTabs", QVariant(QStringList()))
 
const gui_pref ed_show_dbg_file ("editor/show_dbg_file", QVariant(true))
 
const gui_pref ed_show_edit_status_bar ("editor/show_edit_status_bar", QVariant(true))
 
const gui_pref ed_show_eol_chars ("editor/show_eol_chars", QVariant(false))
 
const gui_pref ed_show_hscroll_bar ("editor/show_hscroll_bar", QVariant(true))
 
const gui_pref ed_show_indent_guides ("editor/show_indent_guides", QVariant(false))
 
const gui_pref ed_show_Line_numbers ("editor/showLineNumbers", QVariant(true))
 
const gui_pref ed_show_line_numbers ("editor/showLineNumbers", QVariant(true))
 
const gui_pref ed_show_toolbar ("editor/show_toolbar", QVariant(true))
 
const gui_pref ed_show_white_space ("editor/show_white_space", QVariant(false))
 
const gui_pref ed_show_white_space_indent ("editor/show_white_space_indent", QVariant(false))
 
const gui_pref ed_tab_indents_line ("editor/tab_indents_line", QVariant(false))
 
const gui_pref ed_tab_position ("editor/tab_position", QVariant(QTabWidget::North))
 
const QStringList ed_tab_position_names (QStringList()<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Top")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Bottom")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Left")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Right"))
 
const gui_pref ed_tab_width ("editor/tab_width", QVariant(2))
 
const gui_pref ed_uncomment_str ("editor/oct_uncomment_str", QVariant(1+2+4+8))
 
const gui_pref ed_wrap_lines ("editor/wrap_lines", QVariant(false))
 

Variables

const int ed_comment_strings_count = 5
 
const int os_eol_mode = QsciScintilla::EolUnix
 

Enumeration Type Documentation

◆ find_dialog_options

Enumerator
FIND_DLG_MORE 
FIND_DLG_CASE 
FIND_DLG_START 
FIND_DLG_WRAP 
FIND_DLG_REGX 
FIND_DLG_WORDS 
FIND_DLG_BACK 
FIND_DLG_SEL 

Definition at line 258 of file gui-preferences-ed.h.

Function Documentation

◆ ed_always_reload_changed_files()

const gui_pref ed_always_reload_changed_files ( "editor/always_reload_changed_files"  ,
QVariant(false)   
)

◆ ed_auto_endif()

◆ ed_auto_indent()

const gui_pref ed_auto_indent ( "editor/auto_indent"  ,
QVariant(true)   
)

◆ ed_backspace_unindents_line()

const gui_pref ed_backspace_unindents_line ( "editor/backspace_unindents_line"  ,
QVariant(false)   
)

◆ ed_break_lines()

const gui_pref ed_break_lines ( "editor/break_lines"  ,
QVariant(false)   
)

◆ ed_break_lines_comments()

const gui_pref ed_break_lines_comments ( "editor/break_lines_comments"  ,
QVariant(false)   
)

◆ ed_code_completion()

const gui_pref ed_code_completion ( "editor/codeCompletion"  ,
QVariant(true)   
)

◆ ed_code_completion_case()

const gui_pref ed_code_completion_case ( "editor/codeCompletion_case"  ,
QVariant(true)   
)

◆ ed_code_completion_document()

const gui_pref ed_code_completion_document ( "editor/codeCompletion_document"  ,
QVariant(true)   
)

◆ ed_code_completion_keywords()

const gui_pref ed_code_completion_keywords ( "editor/codeCompletion_keywords"  ,
QVariant(true)   
)

◆ ed_code_completion_octave_builtins()

const gui_pref ed_code_completion_octave_builtins ( "editor/codeCompletion_octave_builtins"  ,
QVariant(true)   
)

◆ ed_code_completion_octave_functions()

const gui_pref ed_code_completion_octave_functions ( "editor/codeCompletion_octave_functions"  ,
QVariant(true)   
)

◆ ed_code_completion_replace()

const gui_pref ed_code_completion_replace ( "editor/codeCompletion_replace"  ,
QVariant(false)   
)

◆ ed_code_completion_threshold()

const gui_pref ed_code_completion_threshold ( "editor/codeCompletion_threshold"  ,
QVariant(2)   
)

◆ ed_code_folding()

const gui_pref ed_code_folding ( "editor/code_folding"  ,
QVariant(true)   
)

◆ ed_comment_str()

const gui_pref ed_comment_str ( "editor/oct_comment_str"  ,
QVariant(0)   
)

◆ ed_comment_str_old()

const gui_pref ed_comment_str_old ( "editor/octave_comment_string"  ,
QVariant(0)   
)

◆ ed_comment_strings()

const QStringList ed_comment_strings ( QStringList()<< "##"<< "#"<< "%"<< "%%"<< "%!"  )

◆ ed_create_new_file()

◆ ed_default_enc()

◆ ed_default_eol_mode()

◆ ed_fdlg_opts()

const gui_pref ed_fdlg_opts ( "editor/fdgl_opts"  ,
QVariant(FIND_DLG_WRAP  
)

◆ ed_fdlg_pos()

const gui_pref ed_fdlg_pos ( "editor/fdgl_pos"  ,
QVariant(QPoint(0, 0))   
)

◆ ed_fdlg_replace()

const gui_pref ed_fdlg_replace ( "editor/fdgl_replace"  ,
QVariant()   
)

◆ ed_fdlg_search()

const gui_pref ed_fdlg_search ( "editor/fdgl_search"  ,
QVariant()   
)

◆ ed_hiding_closes_files()

const gui_pref ed_hiding_closes_files ( "editor/hiding_closes_files"  ,
QVariant(false)   
)

◆ ed_highlight_all_occurrences()

const gui_pref ed_highlight_all_occurrences ( "editor/highlight_all_occurrences"  ,
QVariant(true)   
)

◆ ed_highlight_current_line()

const gui_pref ed_highlight_current_line ( "editor/highlightCurrentLine"  ,
QVariant(true)   
)

◆ ed_highlight_current_line_color()

const gui_pref ed_highlight_current_line_color ( "editor/highlight_current_line_color"  ,
QVariant(QColor(240, 240, 240))   
)

◆ ed_indent_uses_tabs()

const gui_pref ed_indent_uses_tabs ( "editor/indent_uses_tabs"  ,
QVariant(false)   
)

◆ ed_indent_width()

const gui_pref ed_indent_width ( "editor/indent_width"  ,
QVariant(2)   
)

◆ ed_last_comment_str()

const QString ed_last_comment_str ( "editor/oct_last_comment_str"  )

◆ ed_line_numbers_size()

const gui_pref ed_line_numbers_size ( "editor/line_numbers_size"  ,
QVariant(0)   
)

◆ ed_long_line_column()

const gui_pref ed_long_line_column ( "editor/long_line_column"  ,
QVariant(80)   
)

◆ ed_long_line_marker()

◆ ed_long_line_marker_background()

const gui_pref ed_long_line_marker_background ( "editor/long_line_marker_background"  ,
QVariant(false)   
)

◆ ed_long_line_marker_line()

const gui_pref ed_long_line_marker_line ( "editor/long_line_marker_line"  ,
QVariant(true)   
)

◆ ed_long_window_title()

◆ ed_mru_file_encodings()

const gui_pref ed_mru_file_encodings ( "editor/mru_file_encodings"  ,
QVariant()   
)

◆ ed_mru_file_list()

const gui_pref ed_mru_file_list ( "editor/mru_file_list"  ,
QVariant()   
)

◆ ed_notebook_tab_width_max()

const gui_pref ed_notebook_tab_width_max ( "editor/notebook_tab_width_max"  ,
QVariant(300)   
)

◆ ed_notebook_tab_width_min()

const gui_pref ed_notebook_tab_width_min ( "editor/notebook_tab_width_min"  ,
QVariant(160)   
)

◆ ed_restore_session()

const gui_pref ed_restore_session ( "editor/restoreSession"  ,
QVariant(true)   
)

◆ ed_session_enc()

const gui_pref ed_session_enc ( "editor/saved_session_encodings"  ,
QVariant(QStringList())   
)

◆ ed_session_ind()

const gui_pref ed_session_ind ( "editor/saved_session_tab_index"  ,
QVariant(QStringList())   
)

◆ ed_session_lines()

const gui_pref ed_session_lines ( "editor/saved_session_lines"  ,
QVariant(QStringList())   
)

◆ ed_session_names()

const gui_pref ed_session_names ( "editor/savedSessionTabs"  ,
QVariant(QStringList())   
)

◆ ed_show_dbg_file()

◆ ed_show_edit_status_bar()

◆ ed_show_eol_chars()

◆ ed_show_hscroll_bar()

◆ ed_show_indent_guides()

◆ ed_show_Line_numbers()

const gui_pref ed_show_Line_numbers ( "editor/showLineNumbers"  ,
QVariant(true)   
)

◆ ed_show_line_numbers()

◆ ed_show_toolbar()

◆ ed_show_white_space()

◆ ed_show_white_space_indent()

const gui_pref ed_show_white_space_indent ( "editor/show_white_space_indent"  ,
QVariant(false)   
)

◆ ed_tab_indents_line()

const gui_pref ed_tab_indents_line ( "editor/tab_indents_line"  ,
QVariant(false)   
)

◆ ed_tab_position()

const gui_pref ed_tab_position ( "editor/tab_position"  ,
QVariant(QTabWidget::North)   
)

◆ ed_tab_position_names()

const QStringList ed_tab_position_names ( QStringList()<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Top")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Bottom")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Left")<< QT_TRANSLATE_NOOP("octave::settings_dialog", "Right")  )

◆ ed_tab_width()

◆ ed_uncomment_str()

const gui_pref ed_uncomment_str ( "editor/oct_uncomment_str"  ,
QVariant(1+2+4+8)   
)

◆ ed_wrap_lines()

const gui_pref ed_wrap_lines ( "editor/wrap_lines"  ,
QVariant(false)   
)

Variable Documentation

◆ ed_comment_strings_count

◆ os_eol_mode

const int os_eol_mode = QsciScintilla::EolUnix

Definition at line 222 of file gui-preferences-ed.h.