geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

GeanyFiletype Struct Reference

Represents a filetype. More...

#include <filetypes.h>

Collaboration diagram for GeanyFiletype:
[legend]

Public Attributes

GeanyFiletypeID id
 Index in filetypes. More...
 
TMParserType lang
 
gchar * name
 Untranslated short name, such as "C", "None". More...
 
gchar * title
 Shown in the file open dialog, such as "C source file". More...
 
gchar * extension
 Default file extension for new files, or NULL. More...
 
gchar ** pattern
 Array of filename-matching wildcard strings. More...
 
gchar * context_action_cmd
 
gchar * comment_open
 
gchar * comment_close
 
gboolean comment_use_indent
 
GeanyFiletypeGroupID group
 
gchar * error_regex_string
 
struct GeanyFiletypelexer_filetype
 
gchar * mime_type
 
GIcon * icon
 
gchar * comment_single
 
gint indent_type
 
gint indent_width
 
struct GeanyFiletypePrivatepriv
 

Detailed Description

Represents a filetype.

Definition at line 143 of file filetypes.h.

Member Data Documentation

◆ comment_close

gchar* GeanyFiletype::comment_close

Definition at line 159 of file filetypes.h.

Referenced by filetype_free(), and filetype_get_comment_open_close().

◆ comment_open

gchar* GeanyFiletype::comment_open

◆ comment_single

gchar* GeanyFiletype::comment_single

◆ comment_use_indent

gboolean GeanyFiletype::comment_use_indent

Definition at line 160 of file filetypes.h.

Referenced by editor_do_comment(), and editor_insert_multiline_comment().

◆ context_action_cmd

gchar* GeanyFiletype::context_action_cmd

Definition at line 157 of file filetypes.h.

Referenced by filetype_free(), and on_context_action1_activate().

◆ error_regex_string

gchar* GeanyFiletype::error_regex_string

Definition at line 162 of file filetypes.h.

Referenced by build_get_regex(), build_load_menu(), and filetype_free().

◆ extension

gchar* GeanyFiletype::extension

Default file extension for new files, or NULL.

Definition at line 155 of file filetypes.h.

Referenced by filetype_free(), instantsave_document_new_cb(), replace_header_filename(), show_save_as_gtk(), and templates_replace_common().

◆ group

◆ icon

◆ id

◆ indent_type

gint GeanyFiletype::indent_type

Definition at line 168 of file filetypes.h.

Referenced by document_apply_indent_settings(), filetype_new(), and load_indent_settings().

◆ indent_width

gint GeanyFiletype::indent_width

Definition at line 169 of file filetypes.h.

Referenced by document_apply_indent_settings(), filetype_new(), and load_indent_settings().

◆ lang

◆ lexer_filetype

struct GeanyFiletype* GeanyFiletype::lexer_filetype

Definition at line 163 of file filetypes.h.

Referenced by get_lexer_filetype(), highlighting_init_styles(), and load_settings().

◆ mime_type

gchar* GeanyFiletype::mime_type

Definition at line 164 of file filetypes.h.

Referenced by filetype_free(), filetypes_load_config(), and ui_add_recent_document().

◆ name

◆ pattern

gchar** GeanyFiletype::pattern

Array of filename-matching wildcard strings.

Definition at line 156 of file filetypes.h.

Referenced by filetype_free(), filetype_new(), filetypes_create_file_filter(), and match_basename().

◆ priv

◆ title

gchar* GeanyFiletype::title

The documentation for this struct was generated from the following file: