53 lines
2.4 KiB
HTML
53 lines
2.4 KiB
HTML
<html lang="en">
|
|
<head>
|
|
<title>DocumentView object - medit 0.99.0-unstable manual</title>
|
|
<meta http-equiv="Content-Type" content="text/html">
|
|
<meta name="description" content="medit 0.99.0-unstable manual">
|
|
<meta name="generator" content="makeinfo 4.13">
|
|
<link title="Top" rel="start" href="index.html#Top">
|
|
<link rel="up" href="Scripting.html#Scripting" title="Scripting">
|
|
<link rel="prev" href="DocumentWindow-object.html#DocumentWindow-object" title="DocumentWindow object">
|
|
<link rel="next" href="Document-object.html#Document-object" title="Document object">
|
|
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|
<style type="text/css"><!--
|
|
pre.display { font-family:inherit }
|
|
pre.format { font-family:inherit }
|
|
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
|
pre.smallformat { font-family:inherit; font-size:smaller }
|
|
pre.smallexample { font-size:smaller }
|
|
pre.smalllisp { font-size:smaller }
|
|
span.sc { font-variant:small-caps }
|
|
span.roman { font-family:serif; font-weight:normal; }
|
|
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
|
--></style>
|
|
</head>
|
|
<body>
|
|
<div class="node">
|
|
<a name="DocumentView-object"></a>
|
|
<p>
|
|
Next: <a rel="next" accesskey="n" href="Document-object.html#Document-object">Document object</a>,
|
|
Previous: <a rel="previous" accesskey="p" href="DocumentWindow-object.html#DocumentWindow-object">DocumentWindow object</a>,
|
|
Up: <a rel="up" accesskey="u" href="Scripting.html#Scripting">Scripting</a>
|
|
<hr>
|
|
</div>
|
|
|
|
<h3 class="section">5.4 DocumentView object</h3>
|
|
|
|
<p><!-- moo-help-section: DOCUMENT_VIEW -->
|
|
|
|
<dl>
|
|
<dt><code>DocumentView.document()</code><dd>returns document to which this view belongs.
|
|
<br><dt><code>DocumentView.window()</code><dd>returns window which contains this view.
|
|
<br><dt><code>DocumentView.line_wrap_mode()</code><dd>returns whether line wrapping is enabled.
|
|
<br><dt><code>DocumentView.set_line_wrap_mode(enabled)</code><dd>enables or disables line wrapping.
|
|
<br><dt><code>DocumentView.overwrite_mode()</code><dd>returns whether overwrite mode is on.
|
|
<br><dt><code>DocumentView.set_overwrite_mode(enabled)</code><dd>enables or disables overwrite mode.
|
|
<br><dt><code>DocumentView.show_line_numbers()</code><dd>returns whether line numbers are displayed.
|
|
<br><dt><code>DocumentView.set_show_line_numbers(show)</code><dd>shows or hides line numbers.
|
|
|
|
</dl>
|
|
|
|
</body></html>
|
|
|