mirror of
https://github.com/MidnightCommander/source.git
synced 2026-02-02 11:11:55 -08:00
200 lines
28 KiB
HTML
200 lines
28 KiB
HTML
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
|
|
<html xmlns='http://www.w3.org/1999/xhtml'>
|
|
<head>
|
|
<title>src/editor/editwidget.h</title>
|
|
<meta name='robots' content='noindex,nofollow' />
|
|
<meta name='generator' content='GLOBAL-6.6.11' />
|
|
<meta http-equiv='Content-Style-Type' content='text/css' />
|
|
<link rel='stylesheet' type='text/css' href='../style.css' />
|
|
</head>
|
|
<body>
|
|
<!-- beginning of fixed guide -->
|
|
<div id='guide'><ul>
|
|
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
|
|
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
|
|
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
|
|
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
|
|
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
|
|
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
|
|
<li class='standout'><span><a href='../files/src.html'>src</a>/<a href='../files/src--editor.html'>editor</a>/editwidget.h</span></li>
|
|
</ul></div>
|
|
<!-- end of fixed guide -->
|
|
<div align='right'>Manual pages:
|
|
<a href=man/mc.html>mc</a> • <a href=man/mcdiff.html>mcdiff</a> • <a href=man/mcedit.html>mcedit</a> • <a href=man/mcview.html>mcview</a>
|
|
</div>
|
|
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/src.html'>src</a>/<a href='../files/src--editor.html'>editor</a>/editwidget.h</h2>
|
|
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+1 src/editor/editwidget.h' /> */</em>
|
|
<hr />
|
|
<h2 class='header'><a href='../J/editwidget.h.html' title='Multiple included from 17 places.'>INCLUDED FROM</a></h2>
|
|
<hr />
|
|
<pre>
|
|
<a id='L1' name='L1'></a> 1 <em class='comment'>/** \file</em>
|
|
<a id='L2' name='L2'></a> 2 <em class='comment'> * \brief Header: editor widget WEdit</em>
|
|
<a id='L3' name='L3'></a> 3 <em class='comment'> */</em>
|
|
<a id='L4' name='L4'></a> 4
|
|
<a id='L5' name='L5'></a> 5 <em class='sharp'>#ifndef</em> <a href='../S/src--editor--editwidget.h.html#L6' title='Defined at 6 in src/editor/editwidget.h.'>MC__EDIT_WIDGET_H</a>
|
|
<a id='L6' name='L6'></a> 6 <em class='sharp'>#define</em> <a href='../S/src--editor--editwidget.h.html#L5' title='Referred from 5 in src/editor/editwidget.h.'>MC__EDIT_WIDGET_H</a>
|
|
<a id='L7' name='L7'></a> 7
|
|
<a id='L8' name='L8'></a> 8 <em class='sharp'>#include</em> <limits.h> <em class='comment'>// MB_LEN_MAX</em>
|
|
<a id='L9' name='L9'></a> 9
|
|
<a id='L10' name='L10'></a> 10 <em class='sharp'>#include</em> "<a href='lib--search.h.html'>lib/search.h</a>" <em class='comment'>// mc_search_t</em>
|
|
<a id='L11' name='L11'></a> 11 <em class='sharp'>#include</em> "<a href='lib--widget.h.html'>lib/widget.h</a>" <em class='comment'>// Widget</em>
|
|
<a id='L12' name='L12'></a> 12
|
|
<a id='L13' name='L13'></a> 13 <em class='sharp'>#include</em> "<a href='src--editor--edit-impl.h.html'>edit-impl.h</a>"
|
|
<a id='L14' name='L14'></a> 14 <em class='sharp'>#include</em> "<a href='src--editor--editbuffer.h.html'>editbuffer.h</a>"
|
|
<a id='L15' name='L15'></a> 15
|
|
<a id='L16' name='L16'></a> 16 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
|
|
<a id='L17' name='L17'></a> 17
|
|
<a id='L18' name='L18'></a> 18 <em class='sharp'>#define</em> <a href='../R/N_LINE_CACHES.html' title='Multiple referred from 4 places.'>N_LINE_CACHES</a> 32
|
|
<a id='L19' name='L19'></a> 19
|
|
<a id='L20' name='L20'></a> 20 <em class='comment'>/*** enums ***************************************************************************************/</em>
|
|
<a id='L21' name='L21'></a> 21
|
|
<a id='L22' name='L22'></a> 22 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
|
|
<a id='L23' name='L23'></a> 23
|
|
<a id='L24' name='L24'></a> 24 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong> <a href='../R/edit_book_mark_t.html' title='Multiple referred from 20 places.'>edit_book_mark_t</a> <a href='../D/edit_book_mark_t.html' title='Multiple defined in 2 places.'>edit_book_mark_t</a>;
|
|
<a id='L25' name='L25'></a> 25 <strong class='reserved'>struct</strong> <a href='../R/edit_book_mark_t.html' title='Multiple referred from 20 places.'>edit_book_mark_t</a>
|
|
<a id='L26' name='L26'></a> 26 <em class='brace'>{</em>
|
|
<a id='L27' name='L27'></a> 27 <strong class='reserved'>long</strong> <a href='../Y/line.html' title='Multiple used in 319 places.'>line</a>; <em class='comment'>// line number</em>
|
|
<a id='L28' name='L28'></a> 28 <strong class='reserved'>int</strong> <a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>; <em class='comment'>// color</em>
|
|
<a id='L29' name='L29'></a> 29 <a href='../D/edit_book_mark_t.html' title='Multiple defined in 2 places.'>edit_book_mark_t</a> *<a href='../Y/next.html' title='Multiple used in 212 places.'>next</a>;
|
|
<a id='L30' name='L30'></a> 30 <a href='../D/edit_book_mark_t.html' title='Multiple defined in 2 places.'>edit_book_mark_t</a> *<a href='../Y/prev.html' title='Multiple used in 95 places.'>prev</a>;
|
|
<a id='L31' name='L31'></a> 31 <em class='brace'>}</em>;
|
|
<a id='L32' name='L32'></a> 32
|
|
<a id='L33' name='L33'></a> 33 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong> <a href='../R/edit_syntax_rule_t.html' title='Multiple referred from 5 places.'>edit_syntax_rule_t</a> <a href='../D/edit_syntax_rule_t.html' title='Multiple defined in 2 places.'>edit_syntax_rule_t</a>;
|
|
<a id='L34' name='L34'></a> 34 <strong class='reserved'>struct</strong> <a href='../R/edit_syntax_rule_t.html' title='Multiple referred from 5 places.'>edit_syntax_rule_t</a>
|
|
<a id='L35' name='L35'></a> 35 <em class='brace'>{</em>
|
|
<a id='L36' name='L36'></a> 36 <strong class='reserved'>unsigned</strong> <strong class='reserved'>short</strong> <a href='../Y/keyword.html' title='Multiple used in 126 places.'>keyword</a>;
|
|
<a id='L37' name='L37'></a> 37 <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/end.html' title='Multiple used in 162 places.'>end</a>;
|
|
<a id='L38' name='L38'></a> 38 <strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong> <a href='../Y/context.html' title='Multiple used in 28 places.'>context</a>;
|
|
<a id='L39' name='L39'></a> 39 <strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong> <a href='../Y/_context.html' title='Multiple used in 6 places.'>_context</a>;
|
|
<a id='L40' name='L40'></a> 40 <strong class='reserved'>unsigned</strong> <strong class='reserved'>char</strong> <a href='../Y/border.html' title='Multiple used in 13 places.'>border</a>;
|
|
<a id='L41' name='L41'></a> 41 <em class='brace'>}</em>;
|
|
<a id='L42' name='L42'></a> 42
|
|
<a id='L43' name='L43'></a> 43 <em class='comment'>/*</em>
|
|
<a id='L44' name='L44'></a> 44 <em class='comment'> * State of WEdit window</em>
|
|
<a id='L45' name='L45'></a> 45 <em class='comment'> * MCEDIT_DRAG_NONE - window is in normal mode</em>
|
|
<a id='L46' name='L46'></a> 46 <em class='comment'> * MCEDIT_DRAG_MOVE - window is being moved</em>
|
|
<a id='L47' name='L47'></a> 47 <em class='comment'> * MCEDIT_DRAG_RESIZE - window is being resized</em>
|
|
<a id='L48' name='L48'></a> 48 <em class='comment'> */</em>
|
|
<a id='L49' name='L49'></a> 49 <strong class='reserved'>typedef</strong> <strong class='reserved'>enum</strong>
|
|
<a id='L50' name='L50'></a> 50 <em class='brace'>{</em>
|
|
<a id='L51' name='L51'></a> 51 <a href='../R/MCEDIT_DRAG_NONE.html' title='Multiple referred from 12 places.'>MCEDIT_DRAG_NONE</a> = 0,
|
|
<a id='L52' name='L52'></a> 52 <a href='../R/MCEDIT_DRAG_MOVE.html' title='Multiple referred from 4 places.'>MCEDIT_DRAG_MOVE</a>,
|
|
<a id='L53' name='L53'></a> 53 <a href='../R/MCEDIT_DRAG_RESIZE.html' title='Multiple referred from 4 places.'>MCEDIT_DRAG_RESIZE</a>
|
|
<a id='L54' name='L54'></a> 54 <em class='brace'>}</em> <a href='../S/src--editor--editwidget.h.html#L59' title='Referred from 59 in src/editor/editwidget.h.'>mcedit_drag_state_t</a>;
|
|
<a id='L55' name='L55'></a> 55
|
|
<a id='L56' name='L56'></a> 56 <strong class='reserved'>struct</strong> <a href='../R/WEdit.html' title='Multiple referred from 367 places.'>WEdit</a>
|
|
<a id='L57' name='L57'></a> 57 <em class='brace'>{</em>
|
|
<a id='L58' name='L58'></a> 58 <a href='../D/Widget.html' title='Multiple defined in 2 places.'>Widget</a> <a href='../Y/widget.html' title='Multiple used in 164 places.'>widget</a>;
|
|
<a id='L59' name='L59'></a> 59 <a href='../S/src--editor--editwidget.h.html#L54' title='Defined at 54 in src/editor/editwidget.h.'>mcedit_drag_state_t</a> <a href='../Y/drag_state.html' title='Multiple used in 19 places.'>drag_state</a>;
|
|
<a id='L60' name='L60'></a> 60 <strong class='reserved'>int</strong> <a href='../Y/drag_state_start.html' title='Multiple used in 4 places.'>drag_state_start</a>; <em class='comment'>// save cursor position before window moving</em>
|
|
<a id='L61' name='L61'></a> 61
|
|
<a id='L62' name='L62'></a> 62 <em class='comment'>// save location before move/resize or toggle to fullscreen</em>
|
|
<a id='L63' name='L63'></a> 63 <a href='../D/WRect.html' title='Multiple defined in 2 places.'>WRect</a> <a href='../Y/loc_prev.html' title='Multiple used in 7 places.'>loc_prev</a>;
|
|
<a id='L64' name='L64'></a> 64
|
|
<a id='L65' name='L65'></a> 65 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../Y/filename_vpath.html' title='Multiple used in 235 places.'>filename_vpath</a>; <em class='comment'>// Name of the file</em>
|
|
<a id='L66' name='L66'></a> 66 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../Y/dir_vpath.html' title='Multiple used in 8 places.'>dir_vpath</a>; <em class='comment'>// NULL if filename is absolute</em>
|
|
<a id='L67' name='L67'></a> 67
|
|
<a id='L68' name='L68'></a> 68 <em class='comment'>// dynamic buffers and cursor position for editor:</em>
|
|
<a id='L69' name='L69'></a> 69 <a href='../S/src--editor--editbuffer.h.html#L23' title='Defined at 23 in src/editor/editbuffer.h.'>edit_buffer_t</a> <a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>;
|
|
<a id='L70' name='L70'></a> 70
|
|
<a id='L71' name='L71'></a> 71 <em class='comment'>// multibyte support</em>
|
|
<a id='L72' name='L72'></a> 72 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/utf8.html' title='Multiple used in 49 places.'>utf8</a>; <em class='comment'>// It's multibyte file codeset</em>
|
|
<a id='L73' name='L73'></a> 73 <a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/converter.html' title='Multiple used in 63 places.'>converter</a>;
|
|
<a id='L74' name='L74'></a> 74 <strong class='reserved'>char</strong> <a href='../Y/charbuf.html' title='Multiple used in 15 places.'>charbuf</a>[<a href='../Y/MB_LEN_MAX.html' title='Multiple used in 38 places.'>MB_LEN_MAX</a> + 1];
|
|
<a id='L75' name='L75'></a> 75 <strong class='reserved'>int</strong> <a href='../Y/charpoint.html' title='Multiple used in 38 places.'>charpoint</a>;
|
|
<a id='L76' name='L76'></a> 76
|
|
<a id='L77' name='L77'></a> 77 <em class='comment'>// search handler</em>
|
|
<a id='L78' name='L78'></a> 78 <a href='../S/lib--search.h.html#L123' title='Defined at 123 in lib/search.h.'>mc_search_t</a> *<a href='../Y/search.html' title='Multiple used in 198 places.'>search</a>;
|
|
<a id='L79' name='L79'></a> 79 <strong class='reserved'>int</strong> <a href='../Y/replace_mode.html' title='Multiple used in 7 places.'>replace_mode</a>;
|
|
<a id='L80' name='L80'></a> 80 <em class='comment'>// whether search conditions should be started with BOL(^) or ended with EOL($)</em>
|
|
<a id='L81' name='L81'></a> 81 <a href='../S/lib--search.h.html#L52' title='Defined at 52 in lib/search.h.'>mc_search_line_t</a> <a href='../Y/search_line_type.html' title='Multiple used in 16 places.'>search_line_type</a>;
|
|
<a id='L82' name='L82'></a> 82
|
|
<a id='L83' name='L83'></a> 83 <strong class='reserved'>char</strong> *<a href='../Y/last_search_string.html' title='Multiple used in 20 places.'>last_search_string</a>; <em class='comment'>// String that have been searched</em>
|
|
<a id='L84' name='L84'></a> 84 <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/search_start.html' title='Multiple used in 120 places.'>search_start</a>; <em class='comment'>// First character to start searching from</em>
|
|
<a id='L85' name='L85'></a> 85 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/found_len.html' title='Multiple used in 44 places.'>found_len</a>; <em class='comment'>// Length of found string or 0 if none was found</em>
|
|
<a id='L86' name='L86'></a> 86 <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/found_start.html' title='Multiple used in 17 places.'>found_start</a>; <em class='comment'>// the found word from a search - start position</em>
|
|
<a id='L87' name='L87'></a> 87
|
|
<a id='L88' name='L88'></a> 88 <em class='comment'>// display information</em>
|
|
<a id='L89' name='L89'></a> 89 <strong class='reserved'>long</strong> <a href='../Y/start_display.html' title='Multiple used in 35 places.'>start_display</a>; <em class='comment'>// First char displayed</em>
|
|
<a id='L90' name='L90'></a> 90 <strong class='reserved'>long</strong> <a href='../Y/start_col.html' title='Multiple used in 30 places.'>start_col</a>; <em class='comment'>// First displayed column, negative</em>
|
|
<a id='L91' name='L91'></a> 91 <strong class='reserved'>long</strong> <a href='../Y/curs_row.html' title='Multiple used in 33 places.'>curs_row</a>; <em class='comment'>// row position of cursor on the screen</em>
|
|
<a id='L92' name='L92'></a> 92 <strong class='reserved'>long</strong> <a href='../Y/curs_col.html' title='Multiple used in 28 places.'>curs_col</a>; <em class='comment'>// column position on screen</em>
|
|
<a id='L93' name='L93'></a> 93 <strong class='reserved'>long</strong> <a href='../Y/over_col.html' title='Multiple used in 51 places.'>over_col</a>; <em class='comment'>// pos after '\n'</em>
|
|
<a id='L94' name='L94'></a> 94 <strong class='reserved'>int</strong> <a href='../Y/force.html' title='Multiple used in 133 places.'>force</a>; <em class='comment'>// how much of the screen do we redraw?</em>
|
|
<a id='L95' name='L95'></a> 95 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/overwrite.html' title='Multiple used in 6 places.'>overwrite</a> : 1; <em class='comment'>// Overwrite on type mode (as opposed to insert)</em>
|
|
<a id='L96' name='L96'></a> 96 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/modified.html' title='Multiple used in 42 places.'>modified</a> : 1; <em class='comment'>// File has been modified and needs saving</em>
|
|
<a id='L97' name='L97'></a> 97 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/loading_done.html' title='Multiple used in 3 places.'>loading_done</a> : 1; <em class='comment'>// File has been loaded into the editor</em>
|
|
<a id='L98' name='L98'></a> 98 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/locked.html' title='Multiple used in 27 places.'>locked</a> : 1; <em class='comment'>// We hold lock on current file</em>
|
|
<a id='L99' name='L99'></a> 99 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/delete_file.html' title='Multiple used in 9 places.'>delete_file</a> : 1; <em class='comment'>// New file, needs to be deleted unless modified</em>
|
|
<a id='L100' name='L100'></a> 100 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/highlight.html' title='Multiple used in 6 places.'>highlight</a> : 1; <em class='comment'>// There is a selected block</em>
|
|
<a id='L101' name='L101'></a> 101 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/column_highlight.html' title='Multiple used in 53 places.'>column_highlight</a> : 1;
|
|
<a id='L102' name='L102'></a> 102 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/fullscreen.html' title='Multiple used in 31 places.'>fullscreen</a> : 1; <em class='comment'>// Is window fullscreen or not</em>
|
|
<a id='L103' name='L103'></a> 103 <strong class='reserved'>long</strong> <a href='../Y/prev_col.html' title='Multiple used in 15 places.'>prev_col</a>; <em class='comment'>/* recent column position of the cursor - used when moving</em>
|
|
<a id='L104' name='L104'></a> 104 <em class='comment'> up or down past lines that are shorter than the current line */</em>
|
|
<a id='L105' name='L105'></a> 105 <strong class='reserved'>long</strong> <a href='../Y/start_line.html' title='Multiple used in 64 places.'>start_line</a>; <em class='comment'>// line number of the top of the page</em>
|
|
<a id='L106' name='L106'></a> 106
|
|
<a id='L107' name='L107'></a> 107 <em class='comment'>// file info</em>
|
|
<a id='L108' name='L108'></a> 108 <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/mark1.html' title='Multiple used in 61 places.'>mark1</a>; <em class='comment'>// position of highlight start</em>
|
|
<a id='L109' name='L109'></a> 109 <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/mark2.html' title='Multiple used in 69 places.'>mark2</a>; <em class='comment'>// position of highlight end</em>
|
|
<a id='L110' name='L110'></a> 110 <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/end_mark_curs.html' title='Multiple used in 16 places.'>end_mark_curs</a>; <em class='comment'>// position of cursor after end of highlighting</em>
|
|
<a id='L111' name='L111'></a> 111 <strong class='reserved'>long</strong> <a href='../Y/column1.html' title='Multiple used in 26 places.'>column1</a>; <em class='comment'>// position of column highlight start</em>
|
|
<a id='L112' name='L112'></a> 112 <strong class='reserved'>long</strong> <a href='../Y/column2.html' title='Multiple used in 26 places.'>column2</a>; <em class='comment'>// position of column highlight end</em>
|
|
<a id='L113' name='L113'></a> 113 <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/bracket.html' title='Multiple used in 22 places.'>bracket</a>; <em class='comment'>// position of a matching bracket</em>
|
|
<a id='L114' name='L114'></a> 114 <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/last_bracket.html' title='Multiple used in 4 places.'>last_bracket</a>; <em class='comment'>// previous position of a matching bracket</em>
|
|
<a id='L115' name='L115'></a> 115
|
|
<a id='L116' name='L116'></a> 116 <em class='comment'>// cache speedup for line lookups</em>
|
|
<a id='L117' name='L117'></a> 117 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/caches_valid.html' title='Multiple used in 4 places.'>caches_valid</a>;
|
|
<a id='L118' name='L118'></a> 118 <strong class='reserved'>long</strong> <a href='../Y/line_numbers.html' title='Multiple used in 9 places.'>line_numbers</a>[<a href='../S/src--editor--editwidget.h.html#L18' title='Defined at 18 in src/editor/editwidget.h.'>N_LINE_CACHES</a>];
|
|
<a id='L119' name='L119'></a> 119 <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/line_offsets.html' title='Multiple used in 11 places.'>line_offsets</a>[<a href='../S/src--editor--editwidget.h.html#L18' title='Defined at 18 in src/editor/editwidget.h.'>N_LINE_CACHES</a>];
|
|
<a id='L120' name='L120'></a> 120
|
|
<a id='L121' name='L121'></a> 121 <a href='../D/edit_book_mark_t.html' title='Multiple defined in 2 places.'>edit_book_mark_t</a> *<a href='../Y/book_mark.html' title='Multiple used in 37 places.'>book_mark</a>;
|
|
<a id='L122' name='L122'></a> 122 <a href='../Y/GArray.html' title='Multiple used in 83 places.'>GArray</a> *<a href='../Y/serialized_bookmarks.html' title='Multiple used in 14 places.'>serialized_bookmarks</a>;
|
|
<a id='L123' name='L123'></a> 123
|
|
<a id='L124' name='L124'></a> 124 <em class='comment'>// undo stack and pointers</em>
|
|
<a id='L125' name='L125'></a> 125 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/undo_stack_pointer.html' title='Multiple used in 12 places.'>undo_stack_pointer</a>;
|
|
<a id='L126' name='L126'></a> 126 <strong class='reserved'>long</strong> *<a href='../Y/undo_stack.html' title='Multiple used in 20 places.'>undo_stack</a>;
|
|
<a id='L127' name='L127'></a> 127 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/undo_stack_size.html' title='Multiple used in 8 places.'>undo_stack_size</a>;
|
|
<a id='L128' name='L128'></a> 128 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/undo_stack_size_mask.html' title='Multiple used in 15 places.'>undo_stack_size_mask</a>;
|
|
<a id='L129' name='L129'></a> 129 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/undo_stack_bottom.html' title='Multiple used in 15 places.'>undo_stack_bottom</a>;
|
|
<a id='L130' name='L130'></a> 130 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/undo_stack_disable.html' title='Multiple used in 6 places.'>undo_stack_disable</a> : 1; <em class='comment'>// If not 0, don't save events in the undo stack</em>
|
|
<a id='L131' name='L131'></a> 131
|
|
<a id='L132' name='L132'></a> 132 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/redo_stack_pointer.html' title='Multiple used in 12 places.'>redo_stack_pointer</a>;
|
|
<a id='L133' name='L133'></a> 133 <strong class='reserved'>long</strong> *<a href='../Y/redo_stack.html' title='Multiple used in 18 places.'>redo_stack</a>;
|
|
<a id='L134' name='L134'></a> 134 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/redo_stack_size.html' title='Multiple used in 8 places.'>redo_stack_size</a>;
|
|
<a id='L135' name='L135'></a> 135 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/redo_stack_size_mask.html' title='Multiple used in 13 places.'>redo_stack_size_mask</a>;
|
|
<a id='L136' name='L136'></a> 136 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/redo_stack_bottom.html' title='Multiple used in 14 places.'>redo_stack_bottom</a>;
|
|
<a id='L137' name='L137'></a> 137 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/redo_stack_reset.html' title='Multiple used in 6 places.'>redo_stack_reset</a> : 1; <em class='comment'>// If 1, need clear redo stack</em>
|
|
<a id='L138' name='L138'></a> 138
|
|
<a id='L139' name='L139'></a> 139 <strong class='reserved'>struct</strong> <a href='../Y/stat.html' title='Multiple used in 287 places.'>stat</a> <a href='../Y/stat1.html' title='Multiple used in 14 places.'>stat1</a>; <em class='comment'>// Result of mc_fstat() on the file</em>
|
|
<a id='L140' name='L140'></a> 140 <strong class='reserved'>unsigned</strong> <strong class='reserved'>long</strong> <a href='../Y/attrs.html' title='Multiple used in 78 places.'>attrs</a>; <em class='comment'>// Result of mc_fgetflags() on the file</em>
|
|
<a id='L141' name='L141'></a> 141 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/attrs_ok.html' title='Multiple used in 22 places.'>attrs_ok</a>; <em class='comment'>// mc_fgetflags() == 0</em>
|
|
<a id='L142' name='L142'></a> 142
|
|
<a id='L143' name='L143'></a> 143 <strong class='reserved'>unsigned</strong> <strong class='reserved'>int</strong> <a href='../Y/skip_detach_prompt.html' title='Multiple used in 3 places.'>skip_detach_prompt</a> : 1; <em class='comment'>// Do not prompt whether to detach a file anymore</em>
|
|
<a id='L144' name='L144'></a> 144
|
|
<a id='L145' name='L145'></a> 145 <em class='comment'>// syntax highlighting</em>
|
|
<a id='L146' name='L146'></a> 146 <a href='../Y/GSList.html' title='Multiple used in 74 places.'>GSList</a> *<a href='../Y/syntax_marker.html' title='Multiple used in 8 places.'>syntax_marker</a>;
|
|
<a id='L147' name='L147'></a> 147 <a href='../Y/GPtrArray.html' title='Multiple used in 93 places.'>GPtrArray</a> *<a href='../Y/rules.html' title='Multiple used in 26 places.'>rules</a>;
|
|
<a id='L148' name='L148'></a> 148 <a href='../Y/off_t.html' title='Multiple used in 615 places.'>off_t</a> <a href='../Y/last_get_rule.html' title='Multiple used in 11 places.'>last_get_rule</a>;
|
|
<a id='L149' name='L149'></a> 149 <a href='../D/edit_syntax_rule_t.html' title='Multiple defined in 2 places.'>edit_syntax_rule_t</a> <a href='../Y/rule.html' title='Multiple used in 19 places.'>rule</a>;
|
|
<a id='L150' name='L150'></a> 150 <strong class='reserved'>char</strong> *<a href='../Y/syntax_type.html' title='Multiple used in 26 places.'>syntax_type</a>; <em class='comment'>// description of syntax highlighting type being used</em>
|
|
<a id='L151' name='L151'></a> 151 <a href='../Y/GTree.html' title='Multiple used in 16 places.'>GTree</a> *<a href='../Y/defines.html' title='Multiple used in 15 places.'>defines</a>; <em class='comment'>// List of defines</em>
|
|
<a id='L152' name='L152'></a> 152 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/is_case_insensitive.html' title='Multiple used in 5 places.'>is_case_insensitive</a>; <em class='comment'>// selects language case sensitivity</em>
|
|
<a id='L153' name='L153'></a> 153
|
|
<a id='L154' name='L154'></a> 154 <em class='comment'>// line break</em>
|
|
<a id='L155' name='L155'></a> 155 <a href='../S/src--editor--edit-impl.h.html#L86' title='Defined at 86 in src/editor/edit-impl.h.'>LineBreaks</a> <a href='../Y/lb.html' title='Multiple used in 8 places.'>lb</a>;
|
|
<a id='L156' name='L156'></a> 156 <em class='brace'>}</em>;
|
|
<a id='L157' name='L157'></a> 157
|
|
<a id='L158' name='L158'></a> 158 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
|
|
<a id='L159' name='L159'></a> 159
|
|
<a id='L160' name='L160'></a> 160 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
|
|
<a id='L161' name='L161'></a> 161
|
|
<a id='L162' name='L162'></a> 162 <em class='comment'>/*** inline functions ****************************************************************************/</em>
|
|
<a id='L163' name='L163'></a> 163 <em class='sharp'>#endif</em>
|
|
</pre>
|
|
<hr />
|
|
<a id='BOTTOM' name='BOTTOM'></a>
|
|
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+163 src/editor/editwidget.h' /> */</em>
|
|
</body>
|
|
</html>
|