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 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808
|
<!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"/>
<title>QScintilla: QsciLexerPython Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">QScintilla
 <span id="projectnumber">2.8.4</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.5.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-slots">Public Slots</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> </div>
<div class="headertitle">
<div class="title">QsciLexerPython Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="QsciLexerPython" --><!-- doxytag: inherits="QsciLexer" -->
<p><code>#include <qscilexerpython.h></code></p>
<p>Inherits <a class="el" href="classQsciLexer.html">QsciLexer</a>.</p>
<p><a href="classQsciLexerPython-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>enum { <br/>
  <a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18ac55b65493dace8925090544c401e8556">Default</a> = 0,
<a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18a3ae64eb6b01ecf28c28cfa568456018e">Comment</a> = 1,
<a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18a828776730e146194bdc38d5baecd99b6">Number</a> = 2,
<br/>
  <a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18a53439291c4ec1556fa2143b582b21457">DoubleQuotedString</a> = 3,
<a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18aacabc0f11d5b649fb4b4814018fbc2d7">SingleQuotedString</a> = 4,
<a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18a5afb6ff3eda4e10420bc19d8cfce6697">Keyword</a> = 5,
<br/>
  <a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18ad85722ad55aee4bf1966db4a7cfd2b32">TripleSingleQuotedString</a> = 6,
<a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18a1495ec67c855b00c949a8bd8672aa1bc">TripleDoubleQuotedString</a> = 7,
<a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18a13a264a4745f895d9b8218a5eb834cab">ClassName</a> = 8,
<br/>
  <a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18af182efea8f041750b774f01071af8b10">FunctionMethodName</a> = 9,
<a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18a7a4293d091128563c2b51f4eaade7ff2">Operator</a> = 10,
<a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18ad3c089de016a822c21aadf0760842dbe">Identifier</a> = 11,
<br/>
  <a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18af439b3e4c0ee6762c95d318c457e9396">CommentBlock</a> = 12,
<a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18ac5ef1d9860f88a3f84521ff88dca3878">UnclosedString</a> = 13,
<a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18a6b6db1e2f565b7945e40fa3b13d2ce5a">HighlightedIdentifier</a> = 14,
<br/>
  <a class="el" href="classQsciLexerPython.html#a9091a6d7c7327b004480ebaa130c1c18a40d923760d674229ffb146233d1cefae">Decorator</a> = 15
<br/>
}
<li>enum <a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fc">IndentationWarning</a> { <br/>
  <a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fcaaf2844c26e0b5337e85653ca39584182">NoWarning</a> = 0,
<a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fca205cf6f451c495acbe224d2479c9b512">Inconsistent</a> = 1,
<a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fcaee65363fac7fe11d24582a68c3864686">TabsAfterSpaces</a> = 2,
<br/>
  <a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fcac76a1a962494e9526e70eabaa648c75e">Spaces</a> = 3,
<a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fca5be72dba23dedfc6d0b0f796c3ba163d">Tabs</a> = 4
<br/>
}
</ul>
<h2><a name="pub-slots"></a>
Public Slots</h2>
<ul>
<li>virtual void <a class="el" href="classQsciLexerPython.html#a35e71b31d8d197052c7c5250ff21f094">setFoldComments</a> (bool fold)
<li>virtual void <a class="el" href="classQsciLexerPython.html#afc0aaf4300e9ca02eb8fa49328bbe8d8">setFoldQuotes</a> (bool fold)
<li>virtual void <a class="el" href="classQsciLexerPython.html#a421ab12187730bc0686dc72710867ec3">setIndentationWarning</a> (<a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fc">QsciLexerPython::IndentationWarning</a> warn)
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classQsciLexerPython.html#a158b80fd7ee649cbb618b1df33491bab">QsciLexerPython</a> (QObject *parent=0)
<li><a class="anchor" id="abf0e76eca3bc604650cc20d4fc110c7f"></a><!-- doxytag: member="QsciLexerPython::~QsciLexerPython" ref="abf0e76eca3bc604650cc20d4fc110c7f" args="()" -->
virtual <a class="el" href="classQsciLexerPython.html#abf0e76eca3bc604650cc20d4fc110c7f">~QsciLexerPython</a> ()
<li><a class="anchor" id="aaa76c9d9be044fedd565e2ca9fad0171"></a><!-- doxytag: member="QsciLexerPython::language" ref="aaa76c9d9be044fedd565e2ca9fad0171" args="() const " -->
const char * <a class="el" href="classQsciLexerPython.html#aaa76c9d9be044fedd565e2ca9fad0171">language</a> () const
<li>const char * <a class="el" href="classQsciLexerPython.html#a2b986ebf1def32b89e9f60cca6ad9e10">lexer</a> () const
<li><a class="anchor" id="a0acf42d330df753b60558e713bf534d2"></a><!-- doxytag: member="QsciLexerPython::autoCompletionWordSeparators" ref="a0acf42d330df753b60558e713bf534d2" args="() const " -->
QStringList <b>autoCompletionWordSeparators</b> () const
<li><a class="anchor" id="a18dbe35540815858923cd1006ba26967"></a><!-- doxytag: member="QsciLexerPython::blockLookback" ref="a18dbe35540815858923cd1006ba26967" args="() const " -->
int <b>blockLookback</b> () const
<li><a class="anchor" id="a01238e5926a2a400938c544d914518e2"></a><!-- doxytag: member="QsciLexerPython::blockStart" ref="a01238e5926a2a400938c544d914518e2" args="(int *style=0) const " -->
const char * <b>blockStart</b> (int *style=0) const
<li><a class="anchor" id="a02885a4cfec9a646af02f5a126f4ab0f"></a><!-- doxytag: member="QsciLexerPython::braceStyle" ref="a02885a4cfec9a646af02f5a126f4ab0f" args="() const " -->
int <b>braceStyle</b> () const
<li>QColor <a class="el" href="classQsciLexerPython.html#a7ada96b405219532d482cf5a1b610f4a">defaultColor</a> (int style) const
<li><a class="anchor" id="aa8e8dfda244023c64329da5e70b46ddf"></a><!-- doxytag: member="QsciLexerPython::defaultEolFill" ref="aa8e8dfda244023c64329da5e70b46ddf" args="(int style) const " -->
bool <a class="el" href="classQsciLexerPython.html#aa8e8dfda244023c64329da5e70b46ddf">defaultEolFill</a> (int style) const
<li><a class="anchor" id="ab723fa8910eaccf45275c1357d2e9043"></a><!-- doxytag: member="QsciLexerPython::defaultFont" ref="ab723fa8910eaccf45275c1357d2e9043" args="(int style) const " -->
QFont <a class="el" href="classQsciLexerPython.html#ab723fa8910eaccf45275c1357d2e9043">defaultFont</a> (int style) const
<li>QColor <a class="el" href="classQsciLexerPython.html#a737c745ca8b3398352ffe3fe6b96790b">defaultPaper</a> (int style) const
<li><a class="anchor" id="a48052b2d9404d9b303caf6151e6a5e42"></a><!-- doxytag: member="QsciLexerPython::indentationGuideView" ref="a48052b2d9404d9b303caf6151e6a5e42" args="() const " -->
virtual int <b>indentationGuideView</b> () const
<li>const char * <a class="el" href="classQsciLexerPython.html#a9b4d12813edaf5945c172a188cfa44e8">keywords</a> (int set) const
<li>QString <a class="el" href="classQsciLexerPython.html#a4414f83b3620df7c33cd37dead37fcb3">description</a> (int style) const
<li>void <a class="el" href="classQsciLexerPython.html#abed099316dd95a6289c76d151a37c264">refreshProperties</a> ()
<li>bool <a class="el" href="classQsciLexerPython.html#a79d73136b4f6ed373f685e8526974a46">foldComments</a> () const
<li>void <a class="el" href="classQsciLexerPython.html#a27dcfdcac480d0360029d1f12b14f724">setFoldCompact</a> (bool fold)
<li>bool <a class="el" href="classQsciLexerPython.html#aa043e3c8d5dfbc11121fe22dffa1488b">foldCompact</a> () const
<li>bool <a class="el" href="classQsciLexerPython.html#a6cc0ded9ed11450a595879d1f704886f">foldQuotes</a> () const
<li><a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fc">QsciLexerPython::IndentationWarning</a> <a class="el" href="classQsciLexerPython.html#a2ac187500902f253ad9ebfdfc1058d21">indentationWarning</a> () const
<li>void <a class="el" href="classQsciLexerPython.html#ade07472f3cc8a4cccbb0bb6b964f0356">setHighlightSubidentifiers</a> (bool enabled)
<li>bool <a class="el" href="classQsciLexerPython.html#a0fc9c88935941af877a4447c6f8f959f">highlightSubidentifiers</a> () const
<li>void <a class="el" href="classQsciLexerPython.html#a5887a36e4a8d6ff54f4c796b33bc2eef">setStringsOverNewlineAllowed</a> (bool allowed)
<li>bool <a class="el" href="classQsciLexerPython.html#a9d440e3602276cefddd261302542e52d">stringsOverNewlineAllowed</a> () const
<li>void <a class="el" href="classQsciLexerPython.html#accc3cd3ccf7d62840ded955400695b9d">setV2UnicodeAllowed</a> (bool allowed)
<li>bool <a class="el" href="classQsciLexerPython.html#aed1273f9e4d1e3bebd28bc57e31ea92a">v2UnicodeAllowed</a> () const
<li>void <a class="el" href="classQsciLexerPython.html#ae6bc53fc7e6dc90a80a26e22f6f49acb">setV3BinaryOctalAllowed</a> (bool allowed)
<li>bool <a class="el" href="classQsciLexerPython.html#a5389f3e138f6ee689e3f26bed5ae5530">v3BinaryOctalAllowed</a> () const
<li>void <a class="el" href="classQsciLexerPython.html#a856785e000203b1da8fa6f295daad13e">setV3BytesAllowed</a> (bool allowed)
<li>bool <a class="el" href="classQsciLexerPython.html#ab38fe6717b19c3aaf79d55036ab75732">v3BytesAllowed</a> () const
</ul>
<h2><a name="pro-methods"></a>
Protected Member Functions</h2>
<ul>
<li>bool <a class="el" href="classQsciLexerPython.html#a1b8f36843f4abe6ec3ee75205b5b0111">readProperties</a> (QSettings &qs, const QString &prefix)
<li>bool <a class="el" href="classQsciLexerPython.html#abc7a6a2649ac585c424c9a7821d0263b">writeProperties</a> (QSettings &qs, const QString &prefix) const
</ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classQsciLexerPython.html" title="The QsciLexerPython class encapsulates the Scintilla Python lexer.">QsciLexerPython</a> class encapsulates the Scintilla Python lexer. </p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18"></a><!-- doxytag: member="QsciLexerPython::@20" ref="a9091a6d7c7327b004480ebaa130c1c18" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">anonymous enum</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This enum defines the meanings of the different styles used by the Python lexer. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18ac55b65493dace8925090544c401e8556"></a><!-- doxytag: member="Default" ref="a9091a6d7c7327b004480ebaa130c1c18ac55b65493dace8925090544c401e8556" args="" -->Default</em> </td><td>
<p>The default. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18a3ae64eb6b01ecf28c28cfa568456018e"></a><!-- doxytag: member="Comment" ref="a9091a6d7c7327b004480ebaa130c1c18a3ae64eb6b01ecf28c28cfa568456018e" args="" -->Comment</em> </td><td>
<p>A comment. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18a828776730e146194bdc38d5baecd99b6"></a><!-- doxytag: member="Number" ref="a9091a6d7c7327b004480ebaa130c1c18a828776730e146194bdc38d5baecd99b6" args="" -->Number</em> </td><td>
<p>A number. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18a53439291c4ec1556fa2143b582b21457"></a><!-- doxytag: member="DoubleQuotedString" ref="a9091a6d7c7327b004480ebaa130c1c18a53439291c4ec1556fa2143b582b21457" args="" -->DoubleQuotedString</em> </td><td>
<p>A double-quoted string. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18aacabc0f11d5b649fb4b4814018fbc2d7"></a><!-- doxytag: member="SingleQuotedString" ref="a9091a6d7c7327b004480ebaa130c1c18aacabc0f11d5b649fb4b4814018fbc2d7" args="" -->SingleQuotedString</em> </td><td>
<p>A single-quoted string. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18a5afb6ff3eda4e10420bc19d8cfce6697"></a><!-- doxytag: member="Keyword" ref="a9091a6d7c7327b004480ebaa130c1c18a5afb6ff3eda4e10420bc19d8cfce6697" args="" -->Keyword</em> </td><td>
<p>A keyword. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18ad85722ad55aee4bf1966db4a7cfd2b32"></a><!-- doxytag: member="TripleSingleQuotedString" ref="a9091a6d7c7327b004480ebaa130c1c18ad85722ad55aee4bf1966db4a7cfd2b32" args="" -->TripleSingleQuotedString</em> </td><td>
<p>A triple single-quoted string. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18a1495ec67c855b00c949a8bd8672aa1bc"></a><!-- doxytag: member="TripleDoubleQuotedString" ref="a9091a6d7c7327b004480ebaa130c1c18a1495ec67c855b00c949a8bd8672aa1bc" args="" -->TripleDoubleQuotedString</em> </td><td>
<p>A triple double-quoted string. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18a13a264a4745f895d9b8218a5eb834cab"></a><!-- doxytag: member="ClassName" ref="a9091a6d7c7327b004480ebaa130c1c18a13a264a4745f895d9b8218a5eb834cab" args="" -->ClassName</em> </td><td>
<p>The name of a class. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18af182efea8f041750b774f01071af8b10"></a><!-- doxytag: member="FunctionMethodName" ref="a9091a6d7c7327b004480ebaa130c1c18af182efea8f041750b774f01071af8b10" args="" -->FunctionMethodName</em> </td><td>
<p>The name of a function or method. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18a7a4293d091128563c2b51f4eaade7ff2"></a><!-- doxytag: member="Operator" ref="a9091a6d7c7327b004480ebaa130c1c18a7a4293d091128563c2b51f4eaade7ff2" args="" -->Operator</em> </td><td>
<p>An operator. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18ad3c089de016a822c21aadf0760842dbe"></a><!-- doxytag: member="Identifier" ref="a9091a6d7c7327b004480ebaa130c1c18ad3c089de016a822c21aadf0760842dbe" args="" -->Identifier</em> </td><td>
<p>An identifier. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18af439b3e4c0ee6762c95d318c457e9396"></a><!-- doxytag: member="CommentBlock" ref="a9091a6d7c7327b004480ebaa130c1c18af439b3e4c0ee6762c95d318c457e9396" args="" -->CommentBlock</em> </td><td>
<p>A comment block. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18ac5ef1d9860f88a3f84521ff88dca3878"></a><!-- doxytag: member="UnclosedString" ref="a9091a6d7c7327b004480ebaa130c1c18ac5ef1d9860f88a3f84521ff88dca3878" args="" -->UnclosedString</em> </td><td>
<p>The end of a line where a string is not closed. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18a6b6db1e2f565b7945e40fa3b13d2ce5a"></a><!-- doxytag: member="HighlightedIdentifier" ref="a9091a6d7c7327b004480ebaa130c1c18a6b6db1e2f565b7945e40fa3b13d2ce5a" args="" -->HighlightedIdentifier</em> </td><td>
<p>A highlighted identifier. These are defined by keyword set 2. Reimplement <a class="el" href="classQsciLexerPython.html#a9b4d12813edaf5945c172a188cfa44e8">keywords()</a> to define keyword set 2. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a9091a6d7c7327b004480ebaa130c1c18a40d923760d674229ffb146233d1cefae"></a><!-- doxytag: member="Decorator" ref="a9091a6d7c7327b004480ebaa130c1c18a40d923760d674229ffb146233d1cefae" args="" -->Decorator</em> </td><td>
<p>A decorator. </p>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a84118aff26655dcc4313d26d57d5f4fc"></a><!-- doxytag: member="QsciLexerPython::IndentationWarning" ref="a84118aff26655dcc4313d26d57d5f4fc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fc">QsciLexerPython::IndentationWarning</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This enum defines the different conditions that can cause indentations to be displayed as being bad. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a84118aff26655dcc4313d26d57d5f4fcaaf2844c26e0b5337e85653ca39584182"></a><!-- doxytag: member="NoWarning" ref="a84118aff26655dcc4313d26d57d5f4fcaaf2844c26e0b5337e85653ca39584182" args="" -->NoWarning</em> </td><td>
<p>Bad indentation is not displayed differently. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a84118aff26655dcc4313d26d57d5f4fca205cf6f451c495acbe224d2479c9b512"></a><!-- doxytag: member="Inconsistent" ref="a84118aff26655dcc4313d26d57d5f4fca205cf6f451c495acbe224d2479c9b512" args="" -->Inconsistent</em> </td><td>
<p>The indentation is inconsistent when compared to the previous line, ie. it is made up of a different combination of tabs and/or spaces. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a84118aff26655dcc4313d26d57d5f4fcaee65363fac7fe11d24582a68c3864686"></a><!-- doxytag: member="TabsAfterSpaces" ref="a84118aff26655dcc4313d26d57d5f4fcaee65363fac7fe11d24582a68c3864686" args="" -->TabsAfterSpaces</em> </td><td>
<p>The indentation is made up of spaces followed by tabs. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a84118aff26655dcc4313d26d57d5f4fcac76a1a962494e9526e70eabaa648c75e"></a><!-- doxytag: member="Spaces" ref="a84118aff26655dcc4313d26d57d5f4fcac76a1a962494e9526e70eabaa648c75e" args="" -->Spaces</em> </td><td>
<p>The indentation contains spaces. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a84118aff26655dcc4313d26d57d5f4fca5be72dba23dedfc6d0b0f796c3ba163d"></a><!-- doxytag: member="Tabs" ref="a84118aff26655dcc4313d26d57d5f4fca5be72dba23dedfc6d0b0f796c3ba163d" args="" -->Tabs</em> </td><td>
<p>The indentation contains tabs. </p>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a158b80fd7ee649cbb618b1df33491bab"></a><!-- doxytag: member="QsciLexerPython::QsciLexerPython" ref="a158b80fd7ee649cbb618b1df33491bab" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QsciLexerPython::QsciLexerPython </td>
<td>(</td>
<td class="paramtype">QObject * </td>
<td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Construct a <a class="el" href="classQsciLexerPython.html" title="The QsciLexerPython class encapsulates the Scintilla Python lexer.">QsciLexerPython</a> with parent <em>parent</em>. <em>parent</em> is typically the <a class="el" href="classQsciScintilla.html" title="The QsciScintilla class implements a higher level, more Qt-like, API to the Scintilla editor widget...">QsciScintilla</a> instance. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2b986ebf1def32b89e9f60cca6ad9e10"></a><!-- doxytag: member="QsciLexerPython::lexer" ref="a2b986ebf1def32b89e9f60cca6ad9e10" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* QsciLexerPython::lexer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the name of the lexer. Some lexers support a number of languages. </p>
<p>Reimplemented from <a class="el" href="classQsciLexer.html#addf8b4d6eb61737395004281360de9a3">QsciLexer</a>.</p>
</div>
</div>
<a class="anchor" id="a7ada96b405219532d482cf5a1b610f4a"></a><!-- doxytag: member="QsciLexerPython::defaultColor" ref="a7ada96b405219532d482cf5a1b610f4a" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QColor QsciLexerPython::defaultColor </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>style</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the foreground colour of the text for style number <em>style</em>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a737c745ca8b3398352ffe3fe6b96790b">defaultPaper()</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classQsciLexer.html#a759d330408fb3db185e1598ff95de24c">QsciLexer</a>.</p>
</div>
</div>
<a class="anchor" id="a737c745ca8b3398352ffe3fe6b96790b"></a><!-- doxytag: member="QsciLexerPython::defaultPaper" ref="a737c745ca8b3398352ffe3fe6b96790b" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QColor QsciLexerPython::defaultPaper </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>style</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the background colour of the text for style number <em>style</em>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a7ada96b405219532d482cf5a1b610f4a">defaultColor()</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classQsciLexer.html#a9c994ddd300b495c9eda387b3afdb86c">QsciLexer</a>.</p>
</div>
</div>
<a class="anchor" id="a9b4d12813edaf5945c172a188cfa44e8"></a><!-- doxytag: member="QsciLexerPython::keywords" ref="a9b4d12813edaf5945c172a188cfa44e8" args="(int set) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* QsciLexerPython::keywords </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>set</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the set of keywords for the keyword set <em>set</em> recognised by the lexer as a space separated string. </p>
<p>Reimplemented from <a class="el" href="classQsciLexer.html#a285bbbe2ac6139779cc28858f58b846d">QsciLexer</a>.</p>
</div>
</div>
<a class="anchor" id="a4414f83b3620df7c33cd37dead37fcb3"></a><!-- doxytag: member="QsciLexerPython::description" ref="a4414f83b3620df7c33cd37dead37fcb3" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString QsciLexerPython::description </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>style</em></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the descriptive name for style number <em>style</em>. If the style is invalid for this language then an empty QString is returned. This is intended to be used in user preference dialogs. </p>
<p>Implements <a class="el" href="classQsciLexer.html#add9c20adb43bc38d1a0ca3083ac3e6fa">QsciLexer</a>.</p>
</div>
</div>
<a class="anchor" id="abed099316dd95a6289c76d151a37c264"></a><!-- doxytag: member="QsciLexerPython::refreshProperties" ref="abed099316dd95a6289c76d151a37c264" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QsciLexerPython::refreshProperties </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Causes all properties to be refreshed by emitting the <a class="el" href="classQsciLexer.html#acd8475f0da36449dc6b1189a587d7a83">propertyChanged()</a> signal as required. </p>
<p>Reimplemented from <a class="el" href="classQsciLexer.html#ae508c3ab4ce1f338dfff3ddf5ee7e34c">QsciLexer</a>.</p>
</div>
</div>
<a class="anchor" id="a79d73136b4f6ed373f685e8526974a46"></a><!-- doxytag: member="QsciLexerPython::foldComments" ref="a79d73136b4f6ed373f685e8526974a46" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciLexerPython::foldComments </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns true if indented comment blocks can be folded.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a35e71b31d8d197052c7c5250ff21f094">setFoldComments()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a27dcfdcac480d0360029d1f12b14f724"></a><!-- doxytag: member="QsciLexerPython::setFoldCompact" ref="a27dcfdcac480d0360029d1f12b14f724" args="(bool fold)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QsciLexerPython::setFoldCompact </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>fold</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If <em>fold</em> is true then trailing blank lines are included in a fold block. The default is true.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#aa043e3c8d5dfbc11121fe22dffa1488b">foldCompact()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa043e3c8d5dfbc11121fe22dffa1488b"></a><!-- doxytag: member="QsciLexerPython::foldCompact" ref="aa043e3c8d5dfbc11121fe22dffa1488b" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciLexerPython::foldCompact </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns true if trailing blank lines are included in a fold block.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a27dcfdcac480d0360029d1f12b14f724">setFoldCompact()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6cc0ded9ed11450a595879d1f704886f"></a><!-- doxytag: member="QsciLexerPython::foldQuotes" ref="a6cc0ded9ed11450a595879d1f704886f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciLexerPython::foldQuotes </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns true if triple quoted strings can be folded.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#afc0aaf4300e9ca02eb8fa49328bbe8d8">setFoldQuotes()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2ac187500902f253ad9ebfdfc1058d21"></a><!-- doxytag: member="QsciLexerPython::indentationWarning" ref="a2ac187500902f253ad9ebfdfc1058d21" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fc">QsciLexerPython::IndentationWarning</a> QsciLexerPython::indentationWarning </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the condition that will cause bad indentations to be displayed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a421ab12187730bc0686dc72710867ec3">setIndentationWarning()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ade07472f3cc8a4cccbb0bb6b964f0356"></a><!-- doxytag: member="QsciLexerPython::setHighlightSubidentifiers" ref="ade07472f3cc8a4cccbb0bb6b964f0356" args="(bool enabled)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QsciLexerPython::setHighlightSubidentifiers </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enabled</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If <em>enabled</em> is true then sub-identifiers defined in keyword set 2 will be highlighted. For example, if it is false and "open" is defined in keyword set 2 then "foo.open" will not be highlighted. The default is true.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a0fc9c88935941af877a4447c6f8f959f">highlightSubidentifiers()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0fc9c88935941af877a4447c6f8f959f"></a><!-- doxytag: member="QsciLexerPython::highlightSubidentifiers" ref="a0fc9c88935941af877a4447c6f8f959f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciLexerPython::highlightSubidentifiers </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns true if string literals are allowed to span newline characters.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#ade07472f3cc8a4cccbb0bb6b964f0356">setHighlightSubidentifiers()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5887a36e4a8d6ff54f4c796b33bc2eef"></a><!-- doxytag: member="QsciLexerPython::setStringsOverNewlineAllowed" ref="a5887a36e4a8d6ff54f4c796b33bc2eef" args="(bool allowed)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QsciLexerPython::setStringsOverNewlineAllowed </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>allowed</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If <em>allowed</em> is true then string literals are allowed to span newline characters. The default is false.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a9d440e3602276cefddd261302542e52d">stringsOverNewlineAllowed()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9d440e3602276cefddd261302542e52d"></a><!-- doxytag: member="QsciLexerPython::stringsOverNewlineAllowed" ref="a9d440e3602276cefddd261302542e52d" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciLexerPython::stringsOverNewlineAllowed </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns true if string literals are allowed to span newline characters.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a5887a36e4a8d6ff54f4c796b33bc2eef">setStringsOverNewlineAllowed()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="accc3cd3ccf7d62840ded955400695b9d"></a><!-- doxytag: member="QsciLexerPython::setV2UnicodeAllowed" ref="accc3cd3ccf7d62840ded955400695b9d" args="(bool allowed)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QsciLexerPython::setV2UnicodeAllowed </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>allowed</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If <em>allowed</em> is true then Python v2 unicode string literals (e.g. u"utf8") are allowed. The default is true.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#aed1273f9e4d1e3bebd28bc57e31ea92a">v2UnicodeAllowed()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aed1273f9e4d1e3bebd28bc57e31ea92a"></a><!-- doxytag: member="QsciLexerPython::v2UnicodeAllowed" ref="aed1273f9e4d1e3bebd28bc57e31ea92a" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciLexerPython::v2UnicodeAllowed </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns true if Python v2 unicode string literals (e.g. u"utf8") are allowed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#accc3cd3ccf7d62840ded955400695b9d">setV2UnicodeAllowed()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae6bc53fc7e6dc90a80a26e22f6f49acb"></a><!-- doxytag: member="QsciLexerPython::setV3BinaryOctalAllowed" ref="ae6bc53fc7e6dc90a80a26e22f6f49acb" args="(bool allowed)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QsciLexerPython::setV3BinaryOctalAllowed </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>allowed</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If <em>allowed</em> is true then Python v3 binary and octal literals (e.g. 0b1011, 0o712) are allowed. The default is true.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a5389f3e138f6ee689e3f26bed5ae5530">v3BinaryOctalAllowed()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5389f3e138f6ee689e3f26bed5ae5530"></a><!-- doxytag: member="QsciLexerPython::v3BinaryOctalAllowed" ref="a5389f3e138f6ee689e3f26bed5ae5530" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciLexerPython::v3BinaryOctalAllowed </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns true if Python v3 binary and octal literals (e.g. 0b1011, 0o712) are allowed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#ae6bc53fc7e6dc90a80a26e22f6f49acb">setV3BinaryOctalAllowed()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a856785e000203b1da8fa6f295daad13e"></a><!-- doxytag: member="QsciLexerPython::setV3BytesAllowed" ref="a856785e000203b1da8fa6f295daad13e" args="(bool allowed)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QsciLexerPython::setV3BytesAllowed </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>allowed</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If <em>allowed</em> is true then Python v3 bytes string literals (e.g. b"bytes") are allowed. The default is true.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#ab38fe6717b19c3aaf79d55036ab75732">v3BytesAllowed()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab38fe6717b19c3aaf79d55036ab75732"></a><!-- doxytag: member="QsciLexerPython::v3BytesAllowed" ref="ab38fe6717b19c3aaf79d55036ab75732" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciLexerPython::v3BytesAllowed </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns true if Python v3 bytes string literals (e.g. b"bytes") are allowed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a856785e000203b1da8fa6f295daad13e">setV3BytesAllowed()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a35e71b31d8d197052c7c5250ff21f094"></a><!-- doxytag: member="QsciLexerPython::setFoldComments" ref="a35e71b31d8d197052c7c5250ff21f094" args="(bool fold)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void QsciLexerPython::setFoldComments </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>fold</em></td><td>)</td>
<td><code> [virtual, slot]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If <em>fold</em> is true then indented comment blocks can be folded. The default is false.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a79d73136b4f6ed373f685e8526974a46">foldComments()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afc0aaf4300e9ca02eb8fa49328bbe8d8"></a><!-- doxytag: member="QsciLexerPython::setFoldQuotes" ref="afc0aaf4300e9ca02eb8fa49328bbe8d8" args="(bool fold)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void QsciLexerPython::setFoldQuotes </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>fold</em></td><td>)</td>
<td><code> [virtual, slot]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If <em>fold</em> is true then triple quoted strings can be folded. The default is false.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a6cc0ded9ed11450a595879d1f704886f">foldQuotes()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a421ab12187730bc0686dc72710867ec3"></a><!-- doxytag: member="QsciLexerPython::setIndentationWarning" ref="a421ab12187730bc0686dc72710867ec3" args="(QsciLexerPython::IndentationWarning warn)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void QsciLexerPython::setIndentationWarning </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQsciLexerPython.html#a84118aff26655dcc4313d26d57d5f4fc">QsciLexerPython::IndentationWarning</a> </td>
<td class="paramname"><em>warn</em></td><td>)</td>
<td><code> [virtual, slot]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the condition that will cause bad indentations to be displayed.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerPython.html#a2ac187500902f253ad9ebfdfc1058d21">indentationWarning()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1b8f36843f4abe6ec3ee75205b5b0111"></a><!-- doxytag: member="QsciLexerPython::readProperties" ref="a1b8f36843f4abe6ec3ee75205b5b0111" args="(QSettings &qs, const QString &prefix)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciLexerPython::readProperties </td>
<td>(</td>
<td class="paramtype">QSettings & </td>
<td class="paramname"><em>qs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>prefix</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The lexer's properties are read from the settings <em>qs</em>. <em>prefix</em> (which has a trailing '/') should be used as a prefix to the key of each setting. true is returned if there is no error. </p>
<p>Reimplemented from <a class="el" href="classQsciLexer.html#ad472b16506a4cbc19634f07aa90f1ea6">QsciLexer</a>.</p>
</div>
</div>
<a class="anchor" id="abc7a6a2649ac585c424c9a7821d0263b"></a><!-- doxytag: member="QsciLexerPython::writeProperties" ref="abc7a6a2649ac585c424c9a7821d0263b" args="(QSettings &qs, const QString &prefix) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QsciLexerPython::writeProperties </td>
<td>(</td>
<td class="paramtype">QSettings & </td>
<td class="paramname"><em>qs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>prefix</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The lexer's properties are written to the settings <em>qs</em>. <em>prefix</em> (which has a trailing '/') should be used as a prefix to the key of each setting. true is returned if there is no error. </p>
<p>Reimplemented from <a class="el" href="classQsciLexer.html#aa3d0e2a77d281b1cd371b7f2d0fb26b1">QsciLexer</a>.</p>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated on Thu Sep 11 2014 18:15:20 for QScintilla by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>
</body>
</html>
|