/usr/share/doc/libjuce/apiref/classTextInputTarget.html is in libjuce-doc 4.3.0~repack-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 | <!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>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: TextInputTarget Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">JUCE
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="classTextInputTarget-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">TextInputTarget Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>An abstract base class which can be implemented by components that function as text editors.
<a href="classTextInputTarget.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for TextInputTarget:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center">
<img src="classTextInputTarget.png" usemap="#TextInputTarget_map" alt=""/>
<map id="TextInputTarget_map" name="TextInputTarget_map">
<area href="classCodeEditorComponent.html" title="A text editor component designed specifically for source code. " alt="CodeEditorComponent" shape="rect" coords="0,56,138,80"/>
<area href="classTextEditor.html" title="An editable text box. " alt="TextEditor" shape="rect" coords="148,56,286,80"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a097550317e3bf2aee470a20540b9edc7"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7">VirtualKeyboardType</a> { <br />
  <a class="el" href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7a11c126feb4e4a2a3f7695fbf8bfedf47">textKeyboard</a> = 0,
<a class="el" href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7ad6a4c6dad692fe4625b23d7ff5a7a5af">numericKeyboard</a>,
<a class="el" href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7a46a93c956a571fd5d34ef5b2731242a4">decimalKeyboard</a>,
<a class="el" href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7aa10922a2c8f4cdf0e1af8f761374dbf9">urlKeyboard</a>,
<br />
  <a class="el" href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7a5cb8da15324fce23d70f1bd1eae86ff8">emailAddressKeyboard</a>,
<a class="el" href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7a7b7dc41224aef43f9585fc49e2a92567">phoneNumberKeyboard</a>
<br />
}<tr class="memdesc:a097550317e3bf2aee470a20540b9edc7"><td class="mdescLeft"> </td><td class="mdescRight">A set of possible on-screen keyboard types, for use in the <a class="el" href="classTextInputTarget.html#a71072392a8f3455c0da8b43f8c249f43" title="Returns the target's preference for the type of keyboard that would be most appropriate. ">getKeyboardType()</a> method. <a href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a097550317e3bf2aee470a20540b9edc7"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a49747e7bca27c213004a89460543b139"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#a49747e7bca27c213004a89460543b139">TextInputTarget</a> ()</td></tr>
<tr class="separator:a49747e7bca27c213004a89460543b139"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a77845e997bbe85a68ad77407a8f5bdfc"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#a77845e997bbe85a68ad77407a8f5bdfc">~TextInputTarget</a> ()</td></tr>
<tr class="memdesc:a77845e997bbe85a68ad77407a8f5bdfc"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a77845e997bbe85a68ad77407a8f5bdfc">More...</a><br /></td></tr>
<tr class="separator:a77845e997bbe85a68ad77407a8f5bdfc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8dbdf96f7d6980207dde86edbd24455f"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#a8dbdf96f7d6980207dde86edbd24455f">isTextInputActive</a> () const =0</td></tr>
<tr class="memdesc:a8dbdf96f7d6980207dde86edbd24455f"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this input target is currently accepting input. <a href="#a8dbdf96f7d6980207dde86edbd24455f">More...</a><br /></td></tr>
<tr class="separator:a8dbdf96f7d6980207dde86edbd24455f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae1cab69d8e1a8ac375a73d1229cd64ba"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classRange.html">Range</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#ae1cab69d8e1a8ac375a73d1229cd64ba">getHighlightedRegion</a> () const =0</td></tr>
<tr class="memdesc:ae1cab69d8e1a8ac375a73d1229cd64ba"><td class="mdescLeft"> </td><td class="mdescRight">Returns the extents of the selected text region, or an empty range if nothing is selected,. <a href="#ae1cab69d8e1a8ac375a73d1229cd64ba">More...</a><br /></td></tr>
<tr class="separator:ae1cab69d8e1a8ac375a73d1229cd64ba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4f28305922bb146295ed2decb63abf1b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#a4f28305922bb146295ed2decb63abf1b">setHighlightedRegion</a> (const <a class="el" href="classRange.html">Range</a>< int > &newRange)=0</td></tr>
<tr class="memdesc:a4f28305922bb146295ed2decb63abf1b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the currently-selected text region. <a href="#a4f28305922bb146295ed2decb63abf1b">More...</a><br /></td></tr>
<tr class="separator:a4f28305922bb146295ed2decb63abf1b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a294a750fd25dce6cc2b4d14bbbff2f3b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#a294a750fd25dce6cc2b4d14bbbff2f3b">setTemporaryUnderlining</a> (const <a class="el" href="classArray.html">Array</a>< <a class="el" href="classRange.html">Range</a>< int > > &underlinedRegions)=0</td></tr>
<tr class="memdesc:a294a750fd25dce6cc2b4d14bbbff2f3b"><td class="mdescLeft"> </td><td class="mdescRight">Sets a number of temporarily underlined sections. <a href="#a294a750fd25dce6cc2b4d14bbbff2f3b">More...</a><br /></td></tr>
<tr class="separator:a294a750fd25dce6cc2b4d14bbbff2f3b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e420204e80413ae54bfb387f9c7f152"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classString.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#a6e420204e80413ae54bfb387f9c7f152">getTextInRange</a> (const <a class="el" href="classRange.html">Range</a>< int > &range) const =0</td></tr>
<tr class="memdesc:a6e420204e80413ae54bfb387f9c7f152"><td class="mdescLeft"> </td><td class="mdescRight">Returns a specified sub-section of the text. <a href="#a6e420204e80413ae54bfb387f9c7f152">More...</a><br /></td></tr>
<tr class="separator:a6e420204e80413ae54bfb387f9c7f152"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a009241c97fa452d53671a00a6a5caea7"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#a009241c97fa452d53671a00a6a5caea7">insertTextAtCaret</a> (const <a class="el" href="classString.html">String</a> &textToInsert)=0</td></tr>
<tr class="memdesc:a009241c97fa452d53671a00a6a5caea7"><td class="mdescLeft"> </td><td class="mdescRight">Inserts some text, overwriting the selected text region, if there is one. <a href="#a009241c97fa452d53671a00a6a5caea7">More...</a><br /></td></tr>
<tr class="separator:a009241c97fa452d53671a00a6a5caea7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afeb7bb2e326dbefacc31d181004a6c9e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classRectangle.html">Rectangle</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#afeb7bb2e326dbefacc31d181004a6c9e">getCaretRectangle</a> ()=0</td></tr>
<tr class="memdesc:afeb7bb2e326dbefacc31d181004a6c9e"><td class="mdescLeft"> </td><td class="mdescRight">Returns the position of the caret, relative to the component's origin. <a href="#afeb7bb2e326dbefacc31d181004a6c9e">More...</a><br /></td></tr>
<tr class="separator:afeb7bb2e326dbefacc31d181004a6c9e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a71072392a8f3455c0da8b43f8c249f43"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7">VirtualKeyboardType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTextInputTarget.html#a71072392a8f3455c0da8b43f8c249f43">getKeyboardType</a> ()</td></tr>
<tr class="memdesc:a71072392a8f3455c0da8b43f8c249f43"><td class="mdescLeft"> </td><td class="mdescRight">Returns the target's preference for the type of keyboard that would be most appropriate. <a href="#a71072392a8f3455c0da8b43f8c249f43">More...</a><br /></td></tr>
<tr class="separator:a71072392a8f3455c0da8b43f8c249f43"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An abstract base class which can be implemented by components that function as text editors. </p>
<p>This class allows different types of text editor component to provide a uniform interface, which can be used by things like OS-specific input methods, on-screen keyboards, etc. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a097550317e3bf2aee470a20540b9edc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a097550317e3bf2aee470a20540b9edc7">§ </a></span>VirtualKeyboardType</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7">TextInputTarget::VirtualKeyboardType</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>A set of possible on-screen keyboard types, for use in the <a class="el" href="classTextInputTarget.html#a71072392a8f3455c0da8b43f8c249f43" title="Returns the target's preference for the type of keyboard that would be most appropriate. ">getKeyboardType()</a> method. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a097550317e3bf2aee470a20540b9edc7a11c126feb4e4a2a3f7695fbf8bfedf47"></a>textKeyboard </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a097550317e3bf2aee470a20540b9edc7ad6a4c6dad692fe4625b23d7ff5a7a5af"></a>numericKeyboard </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a097550317e3bf2aee470a20540b9edc7a46a93c956a571fd5d34ef5b2731242a4"></a>decimalKeyboard </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a097550317e3bf2aee470a20540b9edc7aa10922a2c8f4cdf0e1af8f761374dbf9"></a>urlKeyboard </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a097550317e3bf2aee470a20540b9edc7a5cb8da15324fce23d70f1bd1eae86ff8"></a>emailAddressKeyboard </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a097550317e3bf2aee470a20540b9edc7a7b7dc41224aef43f9585fc49e2a92567"></a>phoneNumberKeyboard </td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a49747e7bca27c213004a89460543b139"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49747e7bca27c213004a89460543b139">§ </a></span>TextInputTarget()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TextInputTarget::TextInputTarget </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a77845e997bbe85a68ad77407a8f5bdfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77845e997bbe85a68ad77407a8f5bdfc">§ </a></span>~TextInputTarget()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual TextInputTarget::~TextInputTarget </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8dbdf96f7d6980207dde86edbd24455f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dbdf96f7d6980207dde86edbd24455f">§ </a></span>isTextInputActive()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool TextInputTarget::isTextInputActive </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this input target is currently accepting input. </p>
<p>For example, a text editor might return false if it's in read-only mode. </p>
<p>Implemented in <a class="el" href="classTextEditor.html#a591af598b901d22a058b8043ced32a36">TextEditor</a>, and <a class="el" href="classCodeEditorComponent.html#aaabca05f2c538254bec73900f2b4c30d">CodeEditorComponent</a>.</p>
</div>
</div>
<a id="ae1cab69d8e1a8ac375a73d1229cd64ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1cab69d8e1a8ac375a73d1229cd64ba">§ </a></span>getHighlightedRegion()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRange.html">Range</a><int> TextInputTarget::getHighlightedRegion </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the extents of the selected text region, or an empty range if nothing is selected,. </p>
<p>Implemented in <a class="el" href="classTextEditor.html#a4051fa29ff801d6e5813b8a138c6f081">TextEditor</a>, and <a class="el" href="classCodeEditorComponent.html#a46522619290415b47ac6a7b89e386642">CodeEditorComponent</a>.</p>
<p>Referenced by <a class="el" href="classCodeEditorComponent.html#ab1972a4f6e89d5f985ef7bc58fd44082">CodeEditorComponent::getSelectionEnd()</a>.</p>
</div>
</div>
<a id="a4f28305922bb146295ed2decb63abf1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f28305922bb146295ed2decb63abf1b">§ </a></span>setHighlightedRegion()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void TextInputTarget::setHighlightedRegion </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRange.html">Range</a>< int > & </td>
<td class="paramname"><em>newRange</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the currently-selected text region. </p>
<p>Implemented in <a class="el" href="classTextEditor.html#a8ecda909495a70bc8d55d89a2a07a959">TextEditor</a>, and <a class="el" href="classCodeEditorComponent.html#a14dbeff62bc8663f08e60d823fbc096e">CodeEditorComponent</a>.</p>
<p>Referenced by <a class="el" href="classCodeEditorComponent.html#ab1972a4f6e89d5f985ef7bc58fd44082">CodeEditorComponent::getSelectionEnd()</a>.</p>
</div>
</div>
<a id="a294a750fd25dce6cc2b4d14bbbff2f3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a294a750fd25dce6cc2b4d14bbbff2f3b">§ </a></span>setTemporaryUnderlining()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void TextInputTarget::setTemporaryUnderlining </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classArray.html">Array</a>< <a class="el" href="classRange.html">Range</a>< int > > & </td>
<td class="paramname"><em>underlinedRegions</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a number of temporarily underlined sections. </p>
<p>This is needed by MS Windows input method UI. </p>
<p>Implemented in <a class="el" href="classTextEditor.html#a9ce8f410e566c1998a8751e8d8bec34b">TextEditor</a>, and <a class="el" href="classCodeEditorComponent.html#a27cd2a9e1cfaeeca93629dbaeca85826">CodeEditorComponent</a>.</p>
</div>
</div>
<a id="a6e420204e80413ae54bfb387f9c7f152"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e420204e80413ae54bfb387f9c7f152">§ </a></span>getTextInRange()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classString.html">String</a> TextInputTarget::getTextInRange </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRange.html">Range</a>< int > & </td>
<td class="paramname"><em>range</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a specified sub-section of the text. </p>
<p>Implemented in <a class="el" href="classTextEditor.html#a43ad456e17f0234da93370b913e2ba3a">TextEditor</a>, and <a class="el" href="classCodeEditorComponent.html#af2ddba62b3bd39fb2599fb8e4e04f269">CodeEditorComponent</a>.</p>
<p>Referenced by <a class="el" href="classCodeEditorComponent.html#ab1972a4f6e89d5f985ef7bc58fd44082">CodeEditorComponent::getSelectionEnd()</a>.</p>
</div>
</div>
<a id="a009241c97fa452d53671a00a6a5caea7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a009241c97fa452d53671a00a6a5caea7">§ </a></span>insertTextAtCaret()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void TextInputTarget::insertTextAtCaret </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classString.html">String</a> & </td>
<td class="paramname"><em>textToInsert</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Inserts some text, overwriting the selected text region, if there is one. </p>
<p>Implemented in <a class="el" href="classTextEditor.html#a366156a95212e4aa7001e4bb2ebe1282">TextEditor</a>, and <a class="el" href="classCodeEditorComponent.html#a74c65cd4773090f1654f3cd8622cdc50">CodeEditorComponent</a>.</p>
<p>Referenced by <a class="el" href="classCodeEditorComponent.html#ab1972a4f6e89d5f985ef7bc58fd44082">CodeEditorComponent::getSelectionEnd()</a>.</p>
</div>
</div>
<a id="afeb7bb2e326dbefacc31d181004a6c9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afeb7bb2e326dbefacc31d181004a6c9e">§ </a></span>getCaretRectangle()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classRectangle.html">Rectangle</a><int> TextInputTarget::getCaretRectangle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the position of the caret, relative to the component's origin. </p>
<p>Implemented in <a class="el" href="classTextEditor.html#a27a162ec36d9b4b196b2b9f01f916d24">TextEditor</a>, and <a class="el" href="classCodeEditorComponent.html#a540848e9b8ecf8f69176c12404f0be0e">CodeEditorComponent</a>.</p>
<p>Referenced by <a class="el" href="classCodeEditorComponent.html#affee19d45c94100052a2e54c6d93f0cf">CodeEditorComponent::getCaretPos()</a>.</p>
</div>
</div>
<a id="a71072392a8f3455c0da8b43f8c249f43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71072392a8f3455c0da8b43f8c249f43">§ </a></span>getKeyboardType()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classTextInputTarget.html#a097550317e3bf2aee470a20540b9edc7">VirtualKeyboardType</a> TextInputTarget::getKeyboardType </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the target's preference for the type of keyboard that would be most appropriate. </p>
<p>This may be ignored, depending on the capabilities of the OS. </p>
<p>Reimplemented in <a class="el" href="classTextEditor.html#a188d3a05803ae9493b9241d0d95f6cfb">TextEditor</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__TextInputTarget_8h.html">juce_TextInputTarget.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|