1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>ide-fixit: LibIDE Reference Manual</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
<link rel="home" href="index.html" title="LibIDE Reference Manual">
8
<link rel="up" href="ch10.html" title="Diagnostics">
9
<link rel="prev" href="libide-ide-diagnostic.html" title="ide-diagnostic">
10
<link rel="next" href="libide-ide-source-location.html" title="ide-source-location">
11
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
<td width="100%" align="left" class="shortcuts">
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
18
<a href="#libide-ide-fixit.description" class="shortcut">Description</a></span>
20
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21
<td><a accesskey="u" href="ch10.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22
<td><a accesskey="p" href="libide-ide-diagnostic.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
<td><a accesskey="n" href="libide-ide-source-location.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
<div class="refentry">
26
<a name="libide-ide-fixit"></a><div class="titlepage"></div>
27
<div class="refnamediv"><table width="100%"><tr>
29
<h2><span class="refentrytitle"><a name="libide-ide-fixit.top_of_page"></a>ide-fixit</span></h2>
32
<td class="gallery_image" valign="top" align="right"></td>
34
<div class="refsect1">
35
<a name="libide-ide-fixit.functions"></a><h2>Functions</h2>
36
<div class="informaltable"><table width="100%" border="0">
38
<col width="150px" class="functions_return">
39
<col class="functions_name">
43
<td class="function_type">
44
<span class="returnvalue">IdeFixit</span> *
46
<td class="function_name">
47
<a class="link" href="libide-ide-fixit.html#ide-fixit-ref" title="ide_fixit_ref ()">ide_fixit_ref</a> <span class="c_punctuation">()</span>
51
<td class="function_type">
52
<span class="returnvalue">void</span>
54
<td class="function_name">
55
<a class="link" href="libide-ide-fixit.html#ide-fixit-unref" title="ide_fixit_unref ()">ide_fixit_unref</a> <span class="c_punctuation">()</span>
59
<td class="function_type">
60
<span class="returnvalue">void</span>
62
<td class="function_name">
63
<a class="link" href="libide-ide-fixit.html#ide-fixit-apply" title="ide_fixit_apply ()">ide_fixit_apply</a> <span class="c_punctuation">()</span>
67
<td class="function_type">const <span class="returnvalue">gchar</span> *
69
<td class="function_name">
70
<a class="link" href="libide-ide-fixit.html#ide-fixit-get-text" title="ide_fixit_get_text ()">ide_fixit_get_text</a> <span class="c_punctuation">()</span>
74
<td class="function_type">
75
<span class="returnvalue">IdeSourceRange</span> *
77
<td class="function_name">
78
<a class="link" href="libide-ide-fixit.html#ide-fixit-get-range" title="ide_fixit_get_range ()">ide_fixit_get_range</a> <span class="c_punctuation">()</span>
84
<div class="refsect1">
85
<a name="libide-ide-fixit.description"></a><h2>Description</h2>
87
<div class="refsect1">
88
<a name="libide-ide-fixit.functions_details"></a><h2>Functions</h2>
89
<div class="refsect2">
90
<a name="ide-fixit-ref"></a><h3>ide_fixit_ref ()</h3>
91
<pre class="programlisting"><span class="returnvalue">IdeFixit</span> *
92
ide_fixit_ref (<em class="parameter"><code><span class="type">IdeFixit</span> *self</code></em>);</pre>
95
<div class="refsect2">
96
<a name="ide-fixit-unref"></a><h3>ide_fixit_unref ()</h3>
97
<pre class="programlisting"><span class="returnvalue">void</span>
98
ide_fixit_unref (<em class="parameter"><code><span class="type">IdeFixit</span> *self</code></em>);</pre>
101
<div class="refsect2">
102
<a name="ide-fixit-apply"></a><h3>ide_fixit_apply ()</h3>
103
<pre class="programlisting"><span class="returnvalue">void</span>
104
ide_fixit_apply (<em class="parameter"><code><span class="type">IdeFixit</span> *self</code></em>);</pre>
107
<div class="refsect2">
108
<a name="ide-fixit-get-text"></a><h3>ide_fixit_get_text ()</h3>
109
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
110
ide_fixit_get_text (<em class="parameter"><code><span class="type">IdeFixit</span> *self</code></em>);</pre>
111
<p>Gets the text to replace the source range with.</p>
112
<div class="refsect3">
113
<a name="id-1.2.11.6.5.5.5"></a><h4>Parameters</h4>
114
<div class="informaltable"><table width="100%" border="0">
116
<col width="150px" class="parameters_name">
117
<col class="parameters_description">
118
<col width="200px" class="parameters_annotations">
121
<td class="parameter_name"><p>self</p></td>
122
<td class="parameter_description"><p>A <span class="type">IdeFixit</span>.</p></td>
123
<td class="parameter_annotations"> </td>
127
<div class="refsect3">
128
<a name="id-1.2.11.6.5.5.6"></a><h4>Returns</h4>
129
<p> A string with the replacement text.</p>
134
<div class="refsect2">
135
<a name="ide-fixit-get-range"></a><h3>ide_fixit_get_range ()</h3>
136
<pre class="programlisting"><span class="returnvalue">IdeSourceRange</span> *
137
ide_fixit_get_range (<em class="parameter"><code><span class="type">IdeFixit</span> *self</code></em>);</pre>
138
<p>Gets the range for the replacement text. The range is non inclusive of the
139
end location. [a,b)</p>
140
<div class="refsect3">
141
<a name="id-1.2.11.6.5.6.5"></a><h4>Parameters</h4>
142
<div class="informaltable"><table width="100%" border="0">
144
<col width="150px" class="parameters_name">
145
<col class="parameters_description">
146
<col width="200px" class="parameters_annotations">
149
<td class="parameter_name"><p>self</p></td>
150
<td class="parameter_description"><p>A <span class="type">IdeFixit</span>.</p></td>
151
<td class="parameter_annotations"> </td>
155
<div class="refsect3">
156
<a name="id-1.2.11.6.5.6.6"></a><h4>Returns</h4>
157
<p> An <span class="type">IdeSourceRange</span>. </p>
158
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
162
<div class="refsect1">
163
<a name="libide-ide-fixit.other_details"></a><h2>Types and Values</h2>
168
Generated by GTK-Doc V1.21.1</div>
b'\\ No newline at end of file'