SHARE
TWEET

Untitled

a guest Apr 14th, 2015 303 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en" class="">
  3.   <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
  4.     <meta charset='utf-8'>
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <meta http-equiv="Content-Language" content="en">
  7.    
  8.    
  9.     <title>geany-plugins/autoclose.c at master · geany/geany-plugins · GitHub</title>
  10.     <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
  11.     <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
  12.     <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-114.png">
  13.     <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png">
  14.     <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-144.png">
  15.     <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png">
  16.     <meta property="fb:app_id" content="1401488693436528">
  17.  
  18.       <meta content="@github" name="twitter:site" /><meta content="summary" name="twitter:card" /><meta content="geany/geany-plugins" name="twitter:title" /><meta content="geany-plugins - The combined Geany Plugins collection" name="twitter:description" /><meta content="https://avatars0.githubusercontent.com/u/1108795?v=3&amp;s=400" name="twitter:image:src" />
  19.       <meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="https://avatars0.githubusercontent.com/u/1108795?v=3&amp;s=400" property="og:image" /><meta content="geany/geany-plugins" property="og:title" /><meta content="https://github.com/geany/geany-plugins" property="og:url" /><meta content="geany-plugins - The combined Geany Plugins collection" property="og:description" />
  20.       <meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats">
  21.     <meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors">
  22.     <link rel="assets" href="https://assets-cdn.github.com/">
  23.    
  24.     <meta name="pjax-timeout" content="1000">
  25.    
  26.  
  27.     <meta name="msapplication-TileImage" content="/windows-tile.png">
  28.     <meta name="msapplication-TileColor" content="#ffffff">
  29.     <meta name="selected-link" value="repo_source" data-pjax-transient>
  30.       <meta name="google-analytics" content="UA-3769691-2">
  31.  
  32.     <meta content="collector.githubapp.com" name="octolytics-host" /><meta content="collector-cdn.github.com" name="octolytics-script-host" /><meta content="github" name="octolytics-app-id" /><meta content="75C208C5:5906:7618827:552BF736" name="octolytics-dimension-request_id" />
  33.    
  34.     <meta content="Rails, view, blob#show" name="analytics-event" />
  35.     <meta class="js-ga-set" name="dimension1" content="Logged Out">
  36.     <meta class="js-ga-set" name="dimension2" content="Header v3">
  37.     <meta name="is-dotcom" content="true">
  38.     <meta name="hostname" content="github.com">
  39.     <meta name="user-login" content="">
  40.  
  41.    
  42.     <link rel="icon" type="image/x-icon" href="https://assets-cdn.github.com/favicon.ico">
  43.  
  44.  
  45.     <meta content="authenticity_token" name="csrf-param" />
  46. <meta content="2ZC7oSJcWG/kLlGVzppmN+Y7L4Y/JMzKPnyQ8RLjxfkKJDm+EgoXdJanFQ3UNlsN3UaPJlfXJN9wv16VttiPxw==" name="csrf-token" />
  47.  
  48.     <link href="https://assets-cdn.github.com/assets/github-6a4174aa7e25ce4268078491fdfa22273eef841d99e1ab07ccce9b89c747f55d.css" media="all" rel="stylesheet" />
  49.     <link href="https://assets-cdn.github.com/assets/github2-5b5e999e041f2586f9dc06b940229076225e6ec5ab5406be292a87331325fdc0.css" media="all" rel="stylesheet" />
  50.    
  51.    
  52.  
  53.  
  54.     <meta http-equiv="x-pjax-version" content="f227b009e29272e5bb7d2b5ef04d2783">
  55.  
  56.      
  57.   <meta name="description" content="geany-plugins - The combined Geany Plugins collection">
  58.   <meta name="go-import" content="github.com/geany/geany-plugins git https://github.com/geany/geany-plugins.git">
  59.  
  60.   <meta content="1108795" name="octolytics-dimension-user_id" /><meta content="geany" name="octolytics-dimension-user_login" /><meta content="2597648" name="octolytics-dimension-repository_id" /><meta content="geany/geany-plugins" name="octolytics-dimension-repository_nwo" /><meta content="true" name="octolytics-dimension-repository_public" /><meta content="false" name="octolytics-dimension-repository_is_fork" /><meta content="2597648" name="octolytics-dimension-repository_network_root_id" /><meta content="geany/geany-plugins" name="octolytics-dimension-repository_network_root_nwo" />
  61.   <link href="https://github.com/geany/geany-plugins/commits/master.atom" rel="alternate" title="Recent Commits to geany-plugins:master" type="application/atom+xml">
  62.  
  63.   </head>
  64.  
  65.  
  66.   <body class="logged_out  env-production linux vis-public page-blob">
  67.     <a href="#start-of-content" tabindex="1" class="accessibility-aid js-skip-to-content">Skip to content</a>
  68.     <div class="wrapper">
  69.      
  70.      
  71.      
  72.  
  73.  
  74.        
  75.         <div class="header header-logged-out" role="banner">
  76.   <div class="container clearfix">
  77.  
  78.     <a class="header-logo-wordmark" href="https://github.com/" data-ga-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
  79.       <span class="mega-octicon octicon-logo-github"></span>
  80.     </a>
  81.  
  82.     <div class="header-actions" role="navigation">
  83.         <a class="btn btn-primary" href="/join" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a>
  84.       <a class="btn" href="/login?return_to=%2Fgeany%2Fgeany-plugins%2Fblob%2Fmaster%2Fautoclose%2Fsrc%2Fautoclose.c" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a>
  85.     </div>
  86.  
  87.     <div class="site-search repo-scope js-site-search" role="search">
  88.       <form accept-charset="UTF-8" action="/geany/geany-plugins/search" class="js-site-search-form" data-global-search-url="/search" data-repo-search-url="/geany/geany-plugins/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
  89.   <input type="text"
  90.     class="js-site-search-field is-clearable"
  91.     data-hotkey="s"
  92.     name="q"
  93.     placeholder="Search"
  94.     data-global-scope-placeholder="Search GitHub"
  95.     data-repo-scope-placeholder="Search"
  96.     tabindex="1"
  97.     autocapitalize="off">
  98.   <div class="scope-badge">This repository</div>
  99. </form>
  100.     </div>
  101.  
  102.       <ul class="header-nav left" role="navigation">
  103.           <li class="header-nav-item">
  104.             <a class="header-nav-link" href="/explore" data-ga-click="(Logged out) Header, go to explore, text:explore">Explore</a>
  105.           </li>
  106.           <li class="header-nav-item">
  107.             <a class="header-nav-link" href="/features" data-ga-click="(Logged out) Header, go to features, text:features">Features</a>
  108.           </li>
  109.           <li class="header-nav-item">
  110.             <a class="header-nav-link" href="https://enterprise.github.com/" data-ga-click="(Logged out) Header, go to enterprise, text:enterprise">Enterprise</a>
  111.           </li>
  112.           <li class="header-nav-item">
  113.             <a class="header-nav-link" href="/blog" data-ga-click="(Logged out) Header, go to blog, text:blog">Blog</a>
  114.           </li>
  115.       </ul>
  116.  
  117.   </div>
  118. </div>
  119.  
  120.  
  121.  
  122.       <div id="start-of-content" class="accessibility-aid"></div>
  123.           <div class="site" itemscope itemtype="http://schema.org/WebPage">
  124.     <div id="js-flash-container">
  125.      
  126.     </div>
  127.     <div class="pagehead repohead instapaper_ignore readability-menu">
  128.       <div class="container">
  129.        
  130. <ul class="pagehead-actions">
  131.  
  132.   <li>
  133.       <a href="/login?return_to=%2Fgeany%2Fgeany-plugins"
  134.     class="btn btn-sm btn-with-count tooltipped tooltipped-n"
  135.     aria-label="You must be signed in to watch a repository" rel="nofollow">
  136.     <span class="octicon octicon-eye"></span>
  137.     Watch
  138.   </a>
  139.   <a class="social-count" href="/geany/geany-plugins/watchers">
  140.     27
  141.   </a>
  142.  
  143.   </li>
  144.  
  145.   <li>
  146.       <a href="/login?return_to=%2Fgeany%2Fgeany-plugins"
  147.     class="btn btn-sm btn-with-count tooltipped tooltipped-n"
  148.     aria-label="You must be signed in to star a repository" rel="nofollow">
  149.     <span class="octicon octicon-star"></span>
  150.     Star
  151.   </a>
  152.  
  153.     <a class="social-count js-social-count" href="/geany/geany-plugins/stargazers">
  154.       177
  155.     </a>
  156.  
  157.   </li>
  158.  
  159.     <li>
  160.       <a href="/login?return_to=%2Fgeany%2Fgeany-plugins"
  161.         class="btn btn-sm btn-with-count tooltipped tooltipped-n"
  162.         aria-label="You must be signed in to fork a repository" rel="nofollow">
  163.         <span class="octicon octicon-repo-forked"></span>
  164.         Fork
  165.       </a>
  166.       <a href="/geany/geany-plugins/network" class="social-count">
  167.         116
  168.       </a>
  169.     </li>
  170. </ul>
  171.  
  172.         <h1 itemscope itemtype="http://data-vocabulary.org/Breadcrumb" class="entry-title public">
  173.           <span class="mega-octicon octicon-repo"></span>
  174.           <span class="author"><a href="/geany" class="url fn" itemprop="url" rel="author"><span itemprop="title">geany</span></a></span><!--
  175.        --><span class="path-divider">/</span><!--
  176.        --><strong><a href="/geany/geany-plugins" class="js-current-repository" data-pjax="#js-repo-pjax-container">geany-plugins</a></strong>
  177.  
  178.           <span class="page-context-loader">
  179.             <img alt="" height="16" src="https://assets-cdn.github.com/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif" width="16" />
  180.           </span>
  181.  
  182.         </h1>
  183.       </div><!-- /.container -->
  184.     </div><!-- /.repohead -->
  185.  
  186.     <div class="container">
  187.       <div class="repository-with-sidebar repo-container new-discussion-timeline  ">
  188.         <div class="repository-sidebar clearfix">
  189.            
  190. <nav class="sunken-menu repo-nav js-repo-nav js-sidenav-container-pjax js-octicon-loaders"
  191.      role="navigation"
  192.      data-pjax="#js-repo-pjax-container"
  193.      data-issue-count-url="/geany/geany-plugins/issues/counts">
  194.   <ul class="sunken-menu-group">
  195.     <li class="tooltipped tooltipped-w" aria-label="Code">
  196.       <a href="/geany/geany-plugins" aria-label="Code" class="selected js-selected-navigation-item sunken-menu-item" data-hotkey="g c" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches /geany/geany-plugins">
  197.         <span class="octicon octicon-code"></span> <span class="full-word">Code</span>
  198.         <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif" width="16" />
  199. </a>    </li>
  200.  
  201.       <li class="tooltipped tooltipped-w" aria-label="Issues">
  202.         <a href="/geany/geany-plugins/issues" aria-label="Issues" class="js-selected-navigation-item sunken-menu-item" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /geany/geany-plugins/issues">
  203.           <span class="octicon octicon-issue-opened"></span> <span class="full-word">Issues</span>
  204.           <span class="js-issue-replace-counter"></span>
  205.           <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif" width="16" />
  206. </a>      </li>
  207.  
  208.     <li class="tooltipped tooltipped-w" aria-label="Pull requests">
  209.       <a href="/geany/geany-plugins/pulls" aria-label="Pull requests" class="js-selected-navigation-item sunken-menu-item" data-hotkey="g p" data-selected-links="repo_pulls /geany/geany-plugins/pulls">
  210.           <span class="octicon octicon-git-pull-request"></span> <span class="full-word">Pull requests</span>
  211.           <span class="js-pull-replace-counter"></span>
  212.           <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif" width="16" />
  213. </a>    </li>
  214.  
  215.   </ul>
  216.   <div class="sunken-menu-separator"></div>
  217.   <ul class="sunken-menu-group">
  218.  
  219.     <li class="tooltipped tooltipped-w" aria-label="Pulse">
  220.       <a href="/geany/geany-plugins/pulse" aria-label="Pulse" class="js-selected-navigation-item sunken-menu-item" data-selected-links="pulse /geany/geany-plugins/pulse">
  221.         <span class="octicon octicon-pulse"></span> <span class="full-word">Pulse</span>
  222.         <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif" width="16" />
  223. </a>    </li>
  224.  
  225.     <li class="tooltipped tooltipped-w" aria-label="Graphs">
  226.       <a href="/geany/geany-plugins/graphs" aria-label="Graphs" class="js-selected-navigation-item sunken-menu-item" data-selected-links="repo_graphs repo_contributors /geany/geany-plugins/graphs">
  227.         <span class="octicon octicon-graph"></span> <span class="full-word">Graphs</span>
  228.         <img alt="" class="mini-loader" height="16" src="https://assets-cdn.github.com/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif" width="16" />
  229. </a>    </li>
  230.   </ul>
  231.  
  232.  
  233. </nav>
  234.  
  235.               <div class="only-with-full-nav">
  236.                  
  237. <div class="clone-url open"
  238.   data-protocol-type="http"
  239.   data-url="/users/set_protocol?protocol_selector=http&amp;protocol_type=clone">
  240.   <h3><span class="text-emphasized">HTTPS</span> clone URL</h3>
  241.   <div class="input-group js-zeroclipboard-container">
  242.     <input type="text" class="input-mini input-monospace js-url-field js-zeroclipboard-target"
  243.            value="https://github.com/geany/geany-plugins.git" readonly="readonly">
  244.     <span class="input-group-button">
  245.       <button aria-label="Copy to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" data-copy-hint="Copy to clipboard" type="button"><span class="octicon octicon-clippy"></span></button>
  246.     </span>
  247.   </div>
  248. </div>
  249.  
  250.  
  251. <div class="clone-url "
  252.   data-protocol-type="subversion"
  253.   data-url="/users/set_protocol?protocol_selector=subversion&amp;protocol_type=clone">
  254.   <h3><span class="text-emphasized">Subversion</span> checkout URL</h3>
  255.   <div class="input-group js-zeroclipboard-container">
  256.     <input type="text" class="input-mini input-monospace js-url-field js-zeroclipboard-target"
  257.            value="https://github.com/geany/geany-plugins" readonly="readonly">
  258.     <span class="input-group-button">
  259.       <button aria-label="Copy to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" data-copy-hint="Copy to clipboard" type="button"><span class="octicon octicon-clippy"></span></button>
  260.     </span>
  261.   </div>
  262. </div>
  263.  
  264.  
  265.  
  266. <p class="clone-options">You can clone with
  267.   <a href="#" class="js-clone-selector" data-protocol="http">HTTPS</a> or <a href="#" class="js-clone-selector" data-protocol="subversion">Subversion</a>.
  268.   <a href="https://help.github.com/articles/which-remote-url-should-i-use" class="help tooltipped tooltipped-n" aria-label="Get help on which URL is right for you.">
  269.     <span class="octicon octicon-question"></span>
  270.   </a>
  271. </p>
  272.  
  273.  
  274.  
  275.  
  276.                 <a href="/geany/geany-plugins/archive/master.zip"
  277.                    class="btn btn-sm sidebar-button"
  278.                    aria-label="Download the contents of geany/geany-plugins as a zip file"
  279.                    title="Download the contents of geany/geany-plugins as a zip file"
  280.                    rel="nofollow">
  281.                   <span class="octicon octicon-cloud-download"></span>
  282.                   Download ZIP
  283.                 </a>
  284.               </div>
  285.         </div><!-- /.repository-sidebar -->
  286.  
  287.         <div id="js-repo-pjax-container" class="repository-content context-loader-container" data-pjax-container>
  288.          
  289.  
  290. <a href="/geany/geany-plugins/blob/58c53fcd6a54a30cf4efc488bed25348d0e8f441/autoclose/src/autoclose.c" class="hidden js-permalink-shortcut" data-hotkey="y">Permalink</a>
  291.  
  292. <!-- blob contrib key: blob_contributors:v21:c103b44af24654ad48af9d98e4d9c5ac -->
  293.  
  294. <div class="file-navigation js-zeroclipboard-container">
  295.  
  296. <div class="select-menu js-menu-container js-select-menu left">
  297.   <span class="btn btn-sm select-menu-button js-menu-target css-truncate" data-hotkey="w"
  298.     data-master-branch="master"
  299.     data-ref="master"
  300.     title="master"
  301.     role="button" aria-label="Switch branches or tags" tabindex="0" aria-haspopup="true">
  302.     <span class="octicon octicon-git-branch"></span>
  303.     <i>branch:</i>
  304.     <span class="js-select-button css-truncate-target">master</span>
  305.   </span>
  306.  
  307.   <div class="select-menu-modal-holder js-menu-content js-navigation-container" data-pjax aria-hidden="true">
  308.  
  309.     <div class="select-menu-modal">
  310.       <div class="select-menu-header">
  311.         <span class="select-menu-title">Switch branches/tags</span>
  312.         <span class="octicon octicon-x js-menu-close" role="button" aria-label="Close"></span>
  313.       </div>
  314.  
  315.       <div class="select-menu-filters">
  316.         <div class="select-menu-text-filter">
  317.           <input type="text" aria-label="Filter branches/tags" id="context-commitish-filter-field" class="js-filterable-field js-navigation-enable" placeholder="Filter branches/tags">
  318.         </div>
  319.         <div class="select-menu-tabs">
  320.           <ul>
  321.             <li class="select-menu-tab">
  322.               <a href="#" data-tab-filter="branches" data-filter-placeholder="Filter branches/tags" class="js-select-menu-tab">Branches</a>
  323.             </li>
  324.             <li class="select-menu-tab">
  325.               <a href="#" data-tab-filter="tags" data-filter-placeholder="Find a tag…" class="js-select-menu-tab">Tags</a>
  326.             </li>
  327.           </ul>
  328.         </div>
  329.       </div>
  330.  
  331.       <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="branches">
  332.  
  333.         <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
  334.  
  335.  
  336.             <a class="select-menu-item js-navigation-item js-navigation-open "
  337.                href="/geany/geany-plugins/blob/0.18/autoclose/src/autoclose.c"
  338.                data-name="0.18"
  339.                data-skip-pjax="true"
  340.                rel="nofollow">
  341.               <span class="select-menu-item-icon octicon octicon-check"></span>
  342.               <span class="select-menu-item-text css-truncate-target" title="0.18">
  343.                 0.18
  344.               </span>
  345.             </a>
  346.             <a class="select-menu-item js-navigation-item js-navigation-open "
  347.                href="/geany/geany-plugins/blob/1.22_release/autoclose/src/autoclose.c"
  348.                data-name="1.22_release"
  349.                data-skip-pjax="true"
  350.                rel="nofollow">
  351.               <span class="select-menu-item-icon octicon octicon-check"></span>
  352.               <span class="select-menu-item-text css-truncate-target" title="1.22_release">
  353.                 1.22_release
  354.               </span>
  355.             </a>
  356.             <a class="select-menu-item js-navigation-item js-navigation-open "
  357.                href="/geany/geany-plugins/blob/1.23/autoclose/src/autoclose.c"
  358.                data-name="1.23"
  359.                data-skip-pjax="true"
  360.                rel="nofollow">
  361.               <span class="select-menu-item-icon octicon octicon-check"></span>
  362.               <span class="select-menu-item-text css-truncate-target" title="1.23">
  363.                 1.23
  364.               </span>
  365.             </a>
  366.             <a class="select-menu-item js-navigation-item js-navigation-open selected"
  367.                href="/geany/geany-plugins/blob/master/autoclose/src/autoclose.c"
  368.                data-name="master"
  369.                data-skip-pjax="true"
  370.                rel="nofollow">
  371.               <span class="select-menu-item-icon octicon octicon-check"></span>
  372.               <span class="select-menu-item-text css-truncate-target" title="master">
  373.                 master
  374.               </span>
  375.             </a>
  376.         </div>
  377.  
  378.           <div class="select-menu-no-results">Nothing to show</div>
  379.       </div>
  380.  
  381.       <div class="select-menu-list select-menu-tab-bucket js-select-menu-tab-bucket" data-tab-filter="tags">
  382.         <div data-filterable-for="context-commitish-filter-field" data-filterable-type="substring">
  383.  
  384.  
  385.             <div class="select-menu-item js-navigation-item ">
  386.               <span class="select-menu-item-icon octicon octicon-check"></span>
  387.               <a href="/geany/geany-plugins/tree/1.24/autoclose/src/autoclose.c"
  388.                  data-name="1.24"
  389.                  data-skip-pjax="true"
  390.                  rel="nofollow"
  391.                  class="js-navigation-open select-menu-item-text css-truncate-target"
  392.                  title="1.24">1.24</a>
  393.             </div>
  394.             <div class="select-menu-item js-navigation-item ">
  395.               <span class="select-menu-item-icon octicon octicon-check"></span>
  396.               <a href="/geany/geany-plugins/tree/1.23.0/autoclose/src/autoclose.c"
  397.                  data-name="1.23.0"
  398.                  data-skip-pjax="true"
  399.                  rel="nofollow"
  400.                  class="js-navigation-open select-menu-item-text css-truncate-target"
  401.                  title="1.23.0">1.23.0</a>
  402.             </div>
  403.             <div class="select-menu-item js-navigation-item ">
  404.               <span class="select-menu-item-icon octicon octicon-check"></span>
  405.               <a href="/geany/geany-plugins/tree/1.22/autoclose/src/autoclose.c"
  406.                  data-name="1.22"
  407.                  data-skip-pjax="true"
  408.                  rel="nofollow"
  409.                  class="js-navigation-open select-menu-item-text css-truncate-target"
  410.                  title="1.22">1.22</a>
  411.             </div>
  412.             <div class="select-menu-item js-navigation-item ">
  413.               <span class="select-menu-item-icon octicon octicon-check"></span>
  414.               <a href="/geany/geany-plugins/tree/0.21.1/autoclose/src/autoclose.c"
  415.                  data-name="0.21.1"
  416.                  data-skip-pjax="true"
  417.                  rel="nofollow"
  418.                  class="js-navigation-open select-menu-item-text css-truncate-target"
  419.                  title="0.21.1">0.21.1</a>
  420.             </div>
  421.             <div class="select-menu-item js-navigation-item ">
  422.               <span class="select-menu-item-icon octicon octicon-check"></span>
  423.               <a href="/geany/geany-plugins/tree/0.21.0/autoclose/src/autoclose.c"
  424.                  data-name="0.21.0"
  425.                  data-skip-pjax="true"
  426.                  rel="nofollow"
  427.                  class="js-navigation-open select-menu-item-text css-truncate-target"
  428.                  title="0.21.0">0.21.0</a>
  429.             </div>
  430.             <div class="select-menu-item js-navigation-item ">
  431.               <span class="select-menu-item-icon octicon octicon-check"></span>
  432.               <a href="/geany/geany-plugins/tree/0.20.0/autoclose/src/autoclose.c"
  433.                  data-name="0.20.0"
  434.                  data-skip-pjax="true"
  435.                  rel="nofollow"
  436.                  class="js-navigation-open select-menu-item-text css-truncate-target"
  437.                  title="0.20.0">0.20.0</a>
  438.             </div>
  439.             <div class="select-menu-item js-navigation-item ">
  440.               <span class="select-menu-item-icon octicon octicon-check"></span>
  441.               <a href="/geany/geany-plugins/tree/0.19.0/autoclose/src/autoclose.c"
  442.                  data-name="0.19.0"
  443.                  data-skip-pjax="true"
  444.                  rel="nofollow"
  445.                  class="js-navigation-open select-menu-item-text css-truncate-target"
  446.                  title="0.19.0">0.19.0</a>
  447.             </div>
  448.             <div class="select-menu-item js-navigation-item ">
  449.               <span class="select-menu-item-icon octicon octicon-check"></span>
  450.               <a href="/geany/geany-plugins/tree/0.18.0/autoclose/src/autoclose.c"
  451.                  data-name="0.18.0"
  452.                  data-skip-pjax="true"
  453.                  rel="nofollow"
  454.                  class="js-navigation-open select-menu-item-text css-truncate-target"
  455.                  title="0.18.0">0.18.0</a>
  456.             </div>
  457.             <div class="select-menu-item js-navigation-item ">
  458.               <span class="select-menu-item-icon octicon octicon-check"></span>
  459.               <a href="/geany/geany-plugins/tree/0.17.1/autoclose/src/autoclose.c"
  460.                  data-name="0.17.1"
  461.                  data-skip-pjax="true"
  462.                  rel="nofollow"
  463.                  class="js-navigation-open select-menu-item-text css-truncate-target"
  464.                  title="0.17.1">0.17.1</a>
  465.             </div>
  466.             <div class="select-menu-item js-navigation-item ">
  467.               <span class="select-menu-item-icon octicon octicon-check"></span>
  468.               <a href="/geany/geany-plugins/tree/0.17.0/autoclose/src/autoclose.c"
  469.                  data-name="0.17.0"
  470.                  data-skip-pjax="true"
  471.                  rel="nofollow"
  472.                  class="js-navigation-open select-menu-item-text css-truncate-target"
  473.                  title="0.17.0">0.17.0</a>
  474.             </div>
  475.         </div>
  476.  
  477.         <div class="select-menu-no-results">Nothing to show</div>
  478.       </div>
  479.  
  480.     </div>
  481.   </div>
  482. </div>
  483.  
  484.   <div class="btn-group right">
  485.     <a href="/geany/geany-plugins/find/master"
  486.           class="js-show-file-finder btn btn-sm empty-icon tooltipped tooltipped-s"
  487.           data-pjax
  488.           data-hotkey="t"
  489.           aria-label="Quickly jump between files">
  490.       <span class="octicon octicon-list-unordered"></span>
  491.     </a>
  492.     <button aria-label="Copy file path to clipboard" class="js-zeroclipboard btn btn-sm zeroclipboard-button tooltipped tooltipped-s" data-copied-hint="Copied!" data-copy-hint="Copy file path to clipboard" type="button"><span class="octicon octicon-clippy"></span></button>
  493.   </div>
  494.  
  495.   <div class="breadcrumb js-zeroclipboard-target">
  496.     <span class='repo-root js-repo-root'><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/geany/geany-plugins" class="" data-branch="master" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">geany-plugins</span></a></span></span><span class="separator">/</span><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/geany/geany-plugins/tree/master/autoclose" class="" data-branch="master" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">autoclose</span></a></span><span class="separator">/</span><span itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/geany/geany-plugins/tree/master/autoclose/src" class="" data-branch="master" data-direction="back" data-pjax="true" itemscope="url"><span itemprop="title">src</span></a></span><span class="separator">/</span><strong class="final-path">autoclose.c</strong>
  497.   </div>
  498. </div>
  499.  
  500. <include-fragment class="commit commit-loader file-history-tease" src="/geany/geany-plugins/contributors/master/autoclose/src/autoclose.c">
  501.   <div class="file-history-tease-header">
  502.     Fetching contributors&hellip;
  503.   </div>
  504.  
  505.   <div class="participation">
  506.     <p class="loader-loading"><img alt="" height="16" src="https://assets-cdn.github.com/assets/spinners/octocat-spinner-32-EAF2F5-0bdc57d34b85c4a4de9d0d1db10cd70e8a95f33ff4f46c5a8c48b4bf4e5a9abe.gif" width="16" /></p>
  507.     <p class="loader-error">Cannot retrieve contributors at this time</p>
  508.   </div>
  509. </include-fragment>
  510. <div class="file">
  511.   <div class="file-header">
  512.     <div class="file-actions">
  513.  
  514.       <div class="btn-group">
  515.         <a href="/geany/geany-plugins/raw/master/autoclose/src/autoclose.c" class="btn btn-sm " id="raw-url">Raw</a>
  516.           <a href="/geany/geany-plugins/blame/master/autoclose/src/autoclose.c" class="btn btn-sm js-update-url-with-hash">Blame</a>
  517.         <a href="/geany/geany-plugins/commits/master/autoclose/src/autoclose.c" class="btn btn-sm " rel="nofollow">History</a>
  518.       </div>
  519.  
  520.  
  521.           <button type="button" class="octicon-btn disabled tooltipped tooltipped-n" aria-label="You must be signed in to make or propose changes">
  522.             <span class="octicon octicon-pencil"></span>
  523.           </button>
  524.  
  525.         <button type="button" class="octicon-btn octicon-btn-danger disabled tooltipped tooltipped-n" aria-label="You must be signed in to make or propose changes">
  526.           <span class="octicon octicon-trashcan"></span>
  527.         </button>
  528.     </div>
  529.  
  530.     <div class="file-info">
  531.         1151 lines (1032 sloc)
  532.         <span class="file-info-divider"></span>
  533.       33.43 kb
  534.     </div>
  535.   </div>
  536.  
  537.   <div class="blob-wrapper data type-c">
  538.       <table class="highlight tab-size-8 js-file-line-container">
  539.       <tr>
  540.         <td id="L1" class="blob-num js-line-number" data-line-number="1"></td>
  541.         <td id="LC1" class="blob-code js-file-line"><span class="pl-c">/*</span></td>
  542.       </tr>
  543.       <tr>
  544.         <td id="L2" class="blob-num js-line-number" data-line-number="2"></td>
  545.         <td id="LC2" class="blob-code js-file-line"><span class="pl-c"> *      autoclose.c</span></td>
  546.       </tr>
  547.       <tr>
  548.         <td id="L3" class="blob-num js-line-number" data-line-number="3"></td>
  549.         <td id="LC3" class="blob-code js-file-line"><span class="pl-c"> *</span></td>
  550.       </tr>
  551.       <tr>
  552.         <td id="L4" class="blob-num js-line-number" data-line-number="4"></td>
  553.         <td id="LC4" class="blob-code js-file-line"><span class="pl-c"> *      Copyright 2013 Pavel Roschin &lt;rpg89(at)post(dot)ru&gt;</span></td>
  554.       </tr>
  555.       <tr>
  556.         <td id="L5" class="blob-num js-line-number" data-line-number="5"></td>
  557.         <td id="LC5" class="blob-code js-file-line"><span class="pl-c"> *</span></td>
  558.       </tr>
  559.       <tr>
  560.         <td id="L6" class="blob-num js-line-number" data-line-number="6"></td>
  561.         <td id="LC6" class="blob-code js-file-line"><span class="pl-c"> *      This program is free software; you can redistribute it and/or modify</span></td>
  562.       </tr>
  563.       <tr>
  564.         <td id="L7" class="blob-num js-line-number" data-line-number="7"></td>
  565.         <td id="LC7" class="blob-code js-file-line"><span class="pl-c"> *      it under the terms of the GNU General Public License as published by</span></td>
  566.       </tr>
  567.       <tr>
  568.         <td id="L8" class="blob-num js-line-number" data-line-number="8"></td>
  569.         <td id="LC8" class="blob-code js-file-line"><span class="pl-c"> *      the Free Software Foundation; either version 2 of the License, or</span></td>
  570.       </tr>
  571.       <tr>
  572.         <td id="L9" class="blob-num js-line-number" data-line-number="9"></td>
  573.         <td id="LC9" class="blob-code js-file-line"><span class="pl-c"> *      (at your option) any later version.</span></td>
  574.       </tr>
  575.       <tr>
  576.         <td id="L10" class="blob-num js-line-number" data-line-number="10"></td>
  577.         <td id="LC10" class="blob-code js-file-line"><span class="pl-c"> *</span></td>
  578.       </tr>
  579.       <tr>
  580.         <td id="L11" class="blob-num js-line-number" data-line-number="11"></td>
  581.         <td id="LC11" class="blob-code js-file-line"><span class="pl-c"> *      This program is distributed in the hope that it will be useful,</span></td>
  582.       </tr>
  583.       <tr>
  584.         <td id="L12" class="blob-num js-line-number" data-line-number="12"></td>
  585.         <td id="LC12" class="blob-code js-file-line"><span class="pl-c"> *      but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td>
  586.       </tr>
  587.       <tr>
  588.         <td id="L13" class="blob-num js-line-number" data-line-number="13"></td>
  589.         <td id="LC13" class="blob-code js-file-line"><span class="pl-c"> *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></td>
  590.       </tr>
  591.       <tr>
  592.         <td id="L14" class="blob-num js-line-number" data-line-number="14"></td>
  593.         <td id="LC14" class="blob-code js-file-line"><span class="pl-c"> *      GNU General Public License for more details.</span></td>
  594.       </tr>
  595.       <tr>
  596.         <td id="L15" class="blob-num js-line-number" data-line-number="15"></td>
  597.         <td id="LC15" class="blob-code js-file-line"><span class="pl-c"> *      You should have received a copy of the GNU General Public License</span></td>
  598.       </tr>
  599.       <tr>
  600.         <td id="L16" class="blob-num js-line-number" data-line-number="16"></td>
  601.         <td id="LC16" class="blob-code js-file-line"><span class="pl-c"> *      along with this program; if not, write to the Free Software</span></td>
  602.       </tr>
  603.       <tr>
  604.         <td id="L17" class="blob-num js-line-number" data-line-number="17"></td>
  605.         <td id="LC17" class="blob-code js-file-line"><span class="pl-c"> *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,</span></td>
  606.       </tr>
  607.       <tr>
  608.         <td id="L18" class="blob-num js-line-number" data-line-number="18"></td>
  609.         <td id="LC18" class="blob-code js-file-line"><span class="pl-c"> *      MA 02110-1301, USA.</span></td>
  610.       </tr>
  611.       <tr>
  612.         <td id="L19" class="blob-num js-line-number" data-line-number="19"></td>
  613.         <td id="LC19" class="blob-code js-file-line"><span class="pl-c"> */</span></td>
  614.       </tr>
  615.       <tr>
  616.         <td id="L20" class="blob-num js-line-number" data-line-number="20"></td>
  617.         <td id="LC20" class="blob-code js-file-line">
  618. </td>
  619.       </tr>
  620.       <tr>
  621.         <td id="L21" class="blob-num js-line-number" data-line-number="21"></td>
  622.         <td id="LC21" class="blob-code js-file-line">#<span class="pl-k">ifdef</span> HAVE_CONFIG_H</td>
  623.       </tr>
  624.       <tr>
  625.         <td id="L22" class="blob-num js-line-number" data-line-number="22"></td>
  626.         <td id="LC22" class="blob-code js-file-line">   #<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>config.h<span class="pl-pds">&quot;</span></span> <span class="pl-c">/* for the gettext domain */</span></td>
  627.       </tr>
  628.       <tr>
  629.         <td id="L23" class="blob-num js-line-number" data-line-number="23"></td>
  630.         <td id="LC23" class="blob-code js-file-line">#<span class="pl-k">endif</span></td>
  631.       </tr>
  632.       <tr>
  633.         <td id="L24" class="blob-num js-line-number" data-line-number="24"></td>
  634.         <td id="LC24" class="blob-code js-file-line">
  635. </td>
  636.       </tr>
  637.       <tr>
  638.         <td id="L25" class="blob-num js-line-number" data-line-number="25"></td>
  639.         <td id="LC25" class="blob-code js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>string.h<span class="pl-pds">&gt;</span></span></td>
  640.       </tr>
  641.       <tr>
  642.         <td id="L26" class="blob-num js-line-number" data-line-number="26"></td>
  643.         <td id="LC26" class="blob-code js-file-line">#<span class="pl-k">ifdef</span> HAVE_LOCALE_H</td>
  644.       </tr>
  645.       <tr>
  646.         <td id="L27" class="blob-num js-line-number" data-line-number="27"></td>
  647.         <td id="LC27" class="blob-code js-file-line">   #<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>locale.h<span class="pl-pds">&gt;</span></span></td>
  648.       </tr>
  649.       <tr>
  650.         <td id="L28" class="blob-num js-line-number" data-line-number="28"></td>
  651.         <td id="LC28" class="blob-code js-file-line">#<span class="pl-k">endif</span></td>
  652.       </tr>
  653.       <tr>
  654.         <td id="L29" class="blob-num js-line-number" data-line-number="29"></td>
  655.         <td id="LC29" class="blob-code js-file-line">
  656. </td>
  657.       </tr>
  658.       <tr>
  659.         <td id="L30" class="blob-num js-line-number" data-line-number="30"></td>
  660.         <td id="LC30" class="blob-code js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>gdk/gdkkeysyms.h<span class="pl-pds">&gt;</span></span></td>
  661.       </tr>
  662.       <tr>
  663.         <td id="L31" class="blob-num js-line-number" data-line-number="31"></td>
  664.         <td id="LC31" class="blob-code js-file-line">
  665. </td>
  666.       </tr>
  667.       <tr>
  668.         <td id="L32" class="blob-num js-line-number" data-line-number="32"></td>
  669.         <td id="LC32" class="blob-code js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>geanyplugin.h<span class="pl-pds">&gt;</span></span></td>
  670.       </tr>
  671.       <tr>
  672.         <td id="L33" class="blob-num js-line-number" data-line-number="33"></td>
  673.         <td id="LC33" class="blob-code js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>geany.h<span class="pl-pds">&gt;</span></span></td>
  674.       </tr>
  675.       <tr>
  676.         <td id="L34" class="blob-num js-line-number" data-line-number="34"></td>
  677.         <td id="LC34" class="blob-code js-file-line">
  678. </td>
  679.       </tr>
  680.       <tr>
  681.         <td id="L35" class="blob-num js-line-number" data-line-number="35"></td>
  682.         <td id="LC35" class="blob-code js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>Scintilla.h<span class="pl-pds">&quot;</span></span></td>
  683.       </tr>
  684.       <tr>
  685.         <td id="L36" class="blob-num js-line-number" data-line-number="36"></td>
  686.         <td id="LC36" class="blob-code js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>SciLexer.h<span class="pl-pds">&quot;</span></span></td>
  687.       </tr>
  688.       <tr>
  689.         <td id="L37" class="blob-num js-line-number" data-line-number="37"></td>
  690.         <td id="LC37" class="blob-code js-file-line">
  691. </td>
  692.       </tr>
  693.       <tr>
  694.         <td id="L38" class="blob-num js-line-number" data-line-number="38"></td>
  695.         <td id="LC38" class="blob-code js-file-line">#<span class="pl-k">define</span> <span class="pl-en">AC_STOP_ACTION</span> <span class="pl-c1">TRUE</span></td>
  696.       </tr>
  697.       <tr>
  698.         <td id="L39" class="blob-num js-line-number" data-line-number="39"></td>
  699.         <td id="LC39" class="blob-code js-file-line">#<span class="pl-k">define</span> <span class="pl-en">AC_CONTINUE_ACTION</span> <span class="pl-c1">FALSE</span></td>
  700.       </tr>
  701.       <tr>
  702.         <td id="L40" class="blob-num js-line-number" data-line-number="40"></td>
  703.         <td id="LC40" class="blob-code js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SSM</span>(<span class="pl-v">s, m, w, l</span>) scintilla_send_message(s, m, w, l)</td>
  704.       </tr>
  705.       <tr>
  706.         <td id="L41" class="blob-num js-line-number" data-line-number="41"></td>
  707.         <td id="LC41" class="blob-code js-file-line">
  708. </td>
  709.       </tr>
  710.       <tr>
  711.         <td id="L42" class="blob-num js-line-number" data-line-number="42"></td>
  712.         <td id="LC42" class="blob-code js-file-line">GeanyPlugin        *geany_plugin;</td>
  713.       </tr>
  714.       <tr>
  715.         <td id="L43" class="blob-num js-line-number" data-line-number="43"></td>
  716.         <td id="LC43" class="blob-code js-file-line">GeanyData  *geany_data;</td>
  717.       </tr>
  718.       <tr>
  719.         <td id="L44" class="blob-num js-line-number" data-line-number="44"></td>
  720.         <td id="LC44" class="blob-code js-file-line">GeanyFunctions     *geany_functions;</td>
  721.       </tr>
  722.       <tr>
  723.         <td id="L45" class="blob-num js-line-number" data-line-number="45"></td>
  724.         <td id="LC45" class="blob-code js-file-line">
  725. </td>
  726.       </tr>
  727.       <tr>
  728.         <td id="L46" class="blob-num js-line-number" data-line-number="46"></td>
  729.         <td id="LC46" class="blob-code js-file-line"><span class="pl-en">PLUGIN_VERSION_CHECK</span>(<span class="pl-c1">218</span>)</td>
  730.       </tr>
  731.       <tr>
  732.         <td id="L47" class="blob-num js-line-number" data-line-number="47"></td>
  733.         <td id="LC47" class="blob-code js-file-line">PLUGIN_SET_TRANSLATABLE_INFO(</td>
  734.       </tr>
  735.       <tr>
  736.         <td id="L48" class="blob-num js-line-number" data-line-number="48"></td>
  737.         <td id="LC48" class="blob-code js-file-line">   LOCALEDIR,</td>
  738.       </tr>
  739.       <tr>
  740.         <td id="L49" class="blob-num js-line-number" data-line-number="49"></td>
  741.         <td id="LC49" class="blob-code js-file-line">   GETTEXT_PACKAGE,</td>
  742.       </tr>
  743.       <tr>
  744.         <td id="L50" class="blob-num js-line-number" data-line-number="50"></td>
  745.         <td id="LC50" class="blob-code js-file-line">   <span class="pl-en">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close<span class="pl-pds">&quot;</span></span>),</td>
  746.       </tr>
  747.       <tr>
  748.         <td id="L51" class="blob-num js-line-number" data-line-number="51"></td>
  749.         <td id="LC51" class="blob-code js-file-line">   _(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close braces and brackets with lot of features<span class="pl-pds">&quot;</span></span>),</td>
  750.       </tr>
  751.       <tr>
  752.         <td id="L52" class="blob-num js-line-number" data-line-number="52"></td>
  753.         <td id="LC52" class="blob-code js-file-line">   &quot;0.3&quot;,</td>
  754.       </tr>
  755.       <tr>
  756.         <td id="L53" class="blob-num js-line-number" data-line-number="53"></td>
  757.         <td id="LC53" class="blob-code js-file-line">   &quot;Pavel Roschin &lt;rpg89(at)post(dot)ru&gt;&quot;)</td>
  758.       </tr>
  759.       <tr>
  760.         <td id="L54" class="blob-num js-line-number" data-line-number="54"></td>
  761.         <td id="LC54" class="blob-code js-file-line">
  762. </td>
  763.       </tr>
  764.       <tr>
  765.         <td id="L55" class="blob-num js-line-number" data-line-number="55"></td>
  766.         <td id="LC55" class="blob-code js-file-line">typedef struct {</td>
  767.       </tr>
  768.       <tr>
  769.         <td id="L56" class="blob-num js-line-number" data-line-number="56"></td>
  770.         <td id="LC56" class="blob-code js-file-line">   <span class="pl-c">/* close chars */</span></td>
  771.       </tr>
  772.       <tr>
  773.         <td id="L57" class="blob-num js-line-number" data-line-number="57"></td>
  774.         <td id="LC57" class="blob-code js-file-line">   gboolean parenthesis;</td>
  775.       </tr>
  776.       <tr>
  777.         <td id="L58" class="blob-num js-line-number" data-line-number="58"></td>
  778.         <td id="LC58" class="blob-code js-file-line">   gboolean abracket;</td>
  779.       </tr>
  780.       <tr>
  781.         <td id="L59" class="blob-num js-line-number" data-line-number="59"></td>
  782.         <td id="LC59" class="blob-code js-file-line">   gboolean abracket_htmlonly;</td>
  783.       </tr>
  784.       <tr>
  785.         <td id="L60" class="blob-num js-line-number" data-line-number="60"></td>
  786.         <td id="LC60" class="blob-code js-file-line">   gboolean cbracket;</td>
  787.       </tr>
  788.       <tr>
  789.         <td id="L61" class="blob-num js-line-number" data-line-number="61"></td>
  790.         <td id="LC61" class="blob-code js-file-line">   gboolean sbracket;</td>
  791.       </tr>
  792.       <tr>
  793.         <td id="L62" class="blob-num js-line-number" data-line-number="62"></td>
  794.         <td id="LC62" class="blob-code js-file-line">   gboolean dquote;</td>
  795.       </tr>
  796.       <tr>
  797.         <td id="L63" class="blob-num js-line-number" data-line-number="63"></td>
  798.         <td id="LC63" class="blob-code js-file-line">   gboolean squote;</td>
  799.       </tr>
  800.       <tr>
  801.         <td id="L64" class="blob-num js-line-number" data-line-number="64"></td>
  802.         <td id="LC64" class="blob-code js-file-line">   gboolean backquote;</td>
  803.       </tr>
  804.       <tr>
  805.         <td id="L65" class="blob-num js-line-number" data-line-number="65"></td>
  806.         <td id="LC65" class="blob-code js-file-line">   gboolean backquote_bashonly;</td>
  807.       </tr>
  808.       <tr>
  809.         <td id="L66" class="blob-num js-line-number" data-line-number="66"></td>
  810.         <td id="LC66" class="blob-code js-file-line">   <span class="pl-c">/* settings */</span></td>
  811.       </tr>
  812.       <tr>
  813.         <td id="L67" class="blob-num js-line-number" data-line-number="67"></td>
  814.         <td id="LC67" class="blob-code js-file-line">   gboolean delete_pairing_brace;</td>
  815.       </tr>
  816.       <tr>
  817.         <td id="L68" class="blob-num js-line-number" data-line-number="68"></td>
  818.         <td id="LC68" class="blob-code js-file-line">   gboolean suppress_doubling;</td>
  819.       </tr>
  820.       <tr>
  821.         <td id="L69" class="blob-num js-line-number" data-line-number="69"></td>
  822.         <td id="LC69" class="blob-code js-file-line">   gboolean enclose_selections;</td>
  823.       </tr>
  824.       <tr>
  825.         <td id="L70" class="blob-num js-line-number" data-line-number="70"></td>
  826.         <td id="LC70" class="blob-code js-file-line">   gboolean comments_ac_enable;</td>
  827.       </tr>
  828.       <tr>
  829.         <td id="L71" class="blob-num js-line-number" data-line-number="71"></td>
  830.         <td id="LC71" class="blob-code js-file-line">   gboolean comments_enclose;</td>
  831.       </tr>
  832.       <tr>
  833.         <td id="L72" class="blob-num js-line-number" data-line-number="72"></td>
  834.         <td id="LC72" class="blob-code js-file-line">   gboolean keep_selection;</td>
  835.       </tr>
  836.       <tr>
  837.         <td id="L73" class="blob-num js-line-number" data-line-number="73"></td>
  838.         <td id="LC73" class="blob-code js-file-line">   gboolean make_indent_for_cbracket;</td>
  839.       </tr>
  840.       <tr>
  841.         <td id="L74" class="blob-num js-line-number" data-line-number="74"></td>
  842.         <td id="LC74" class="blob-code js-file-line">   gboolean move_cursor_to_beginning;</td>
  843.       </tr>
  844.       <tr>
  845.         <td id="L75" class="blob-num js-line-number" data-line-number="75"></td>
  846.         <td id="LC75" class="blob-code js-file-line">   gboolean improved_cbracket_indent;</td>
  847.       </tr>
  848.       <tr>
  849.         <td id="L76" class="blob-num js-line-number" data-line-number="76"></td>
  850.         <td id="LC76" class="blob-code js-file-line">   gboolean whitesmiths_style;</td>
  851.       </tr>
  852.       <tr>
  853.         <td id="L77" class="blob-num js-line-number" data-line-number="77"></td>
  854.         <td id="LC77" class="blob-code js-file-line">   gboolean close_functions;</td>
  855.       </tr>
  856.       <tr>
  857.         <td id="L78" class="blob-num js-line-number" data-line-number="78"></td>
  858.         <td id="LC78" class="blob-code js-file-line">   gboolean bcksp_remove_pair;</td>
  859.       </tr>
  860.       <tr>
  861.         <td id="L79" class="blob-num js-line-number" data-line-number="79"></td>
  862.         <td id="LC79" class="blob-code js-file-line">   gboolean jump_on_tab;</td>
  863.       </tr>
  864.       <tr>
  865.         <td id="L80" class="blob-num js-line-number" data-line-number="80"></td>
  866.         <td id="LC80" class="blob-code js-file-line">   <span class="pl-c">/* others */</span></td>
  867.       </tr>
  868.       <tr>
  869.         <td id="L81" class="blob-num js-line-number" data-line-number="81"></td>
  870.         <td id="LC81" class="blob-code js-file-line">   gchar *config_file;</td>
  871.       </tr>
  872.       <tr>
  873.         <td id="L82" class="blob-num js-line-number" data-line-number="82"></td>
  874.         <td id="LC82" class="blob-code js-file-line">} AutocloseInfo;</td>
  875.       </tr>
  876.       <tr>
  877.         <td id="L83" class="blob-num js-line-number" data-line-number="83"></td>
  878.         <td id="LC83" class="blob-code js-file-line">
  879. </td>
  880.       </tr>
  881.       <tr>
  882.         <td id="L84" class="blob-num js-line-number" data-line-number="84"></td>
  883.         <td id="LC84" class="blob-code js-file-line"><span class="pl-k">static</span> AutocloseInfo *ac_info = <span class="pl-c1">NULL</span>;</td>
  884.       </tr>
  885.       <tr>
  886.         <td id="L85" class="blob-num js-line-number" data-line-number="85"></td>
  887.         <td id="LC85" class="blob-code js-file-line">
  888. </td>
  889.       </tr>
  890.       <tr>
  891.         <td id="L86" class="blob-num js-line-number" data-line-number="86"></td>
  892.         <td id="LC86" class="blob-code js-file-line"><span class="pl-k">typedef</span> <span class="pl-k">struct</span> {</td>
  893.       </tr>
  894.       <tr>
  895.         <td id="L87" class="blob-num js-line-number" data-line-number="87"></td>
  896.         <td id="LC87" class="blob-code js-file-line">   <span class="pl-c">/* used to place the caret after autoclosed items on tab (similar to eclipse) */</span></td>
  897.       </tr>
  898.       <tr>
  899.         <td id="L88" class="blob-num js-line-number" data-line-number="88"></td>
  900.         <td id="LC88" class="blob-code js-file-line">   gint jump_on_tab;</td>
  901.       </tr>
  902.       <tr>
  903.         <td id="L89" class="blob-num js-line-number" data-line-number="89"></td>
  904.         <td id="LC89" class="blob-code js-file-line">   <span class="pl-c">/* used to reset jump_on_tab when needed */</span></td>
  905.       </tr>
  906.       <tr>
  907.         <td id="L90" class="blob-num js-line-number" data-line-number="90"></td>
  908.         <td id="LC90" class="blob-code js-file-line">   gint last_caret;</td>
  909.       </tr>
  910.       <tr>
  911.         <td id="L91" class="blob-num js-line-number" data-line-number="91"></td>
  912.         <td id="LC91" class="blob-code js-file-line">   <span class="pl-c">/* used to reset jump_on_tab when needed */</span></td>
  913.       </tr>
  914.       <tr>
  915.         <td id="L92" class="blob-num js-line-number" data-line-number="92"></td>
  916.         <td id="LC92" class="blob-code js-file-line">   gint last_line;</td>
  917.       </tr>
  918.       <tr>
  919.         <td id="L93" class="blob-num js-line-number" data-line-number="93"></td>
  920.         <td id="LC93" class="blob-code js-file-line">   <span class="pl-k">struct</span> GeanyDocument *doc;</td>
  921.       </tr>
  922.       <tr>
  923.         <td id="L94" class="blob-num js-line-number" data-line-number="94"></td>
  924.         <td id="LC94" class="blob-code js-file-line">} AutocloseUserData;</td>
  925.       </tr>
  926.       <tr>
  927.         <td id="L95" class="blob-num js-line-number" data-line-number="95"></td>
  928.         <td id="LC95" class="blob-code js-file-line">
  929. </td>
  930.       </tr>
  931.       <tr>
  932.         <td id="L96" class="blob-num js-line-number" data-line-number="96"></td>
  933.         <td id="LC96" class="blob-code js-file-line"><span class="pl-k">static</span> gint</td>
  934.       </tr>
  935.       <tr>
  936.         <td id="L97" class="blob-num js-line-number" data-line-number="97"></td>
  937.         <td id="LC97" class="blob-code js-file-line"><span class="pl-en">get_indent</span>(ScintillaObject *sci, gint line)</td>
  938.       </tr>
  939.       <tr>
  940.         <td id="L98" class="blob-num js-line-number" data-line-number="98"></td>
  941.         <td id="LC98" class="blob-code js-file-line">{</td>
  942.       </tr>
  943.       <tr>
  944.         <td id="L99" class="blob-num js-line-number" data-line-number="99"></td>
  945.         <td id="LC99" class="blob-code js-file-line">   <span class="pl-k">return</span> (gint) <span class="pl-c1">SSM</span>(sci, SCI_GETLINEINDENTPOSITION, (<span class="pl-c1">uptr_t</span>) line, <span class="pl-c1">0</span>);</td>
  946.       </tr>
  947.       <tr>
  948.         <td id="L100" class="blob-num js-line-number" data-line-number="100"></td>
  949.         <td id="LC100" class="blob-code js-file-line">}</td>
  950.       </tr>
  951.       <tr>
  952.         <td id="L101" class="blob-num js-line-number" data-line-number="101"></td>
  953.         <td id="LC101" class="blob-code js-file-line">
  954. </td>
  955.       </tr>
  956.       <tr>
  957.         <td id="L102" class="blob-num js-line-number" data-line-number="102"></td>
  958.         <td id="LC102" class="blob-code js-file-line"><span class="pl-k">static</span> gchar</td>
  959.       </tr>
  960.       <tr>
  961.         <td id="L103" class="blob-num js-line-number" data-line-number="103"></td>
  962.         <td id="LC103" class="blob-code js-file-line"><span class="pl-en">char_at</span>(ScintillaObject *sci, gint pos)</td>
  963.       </tr>
  964.       <tr>
  965.         <td id="L104" class="blob-num js-line-number" data-line-number="104"></td>
  966.         <td id="LC104" class="blob-code js-file-line">{</td>
  967.       </tr>
  968.       <tr>
  969.         <td id="L105" class="blob-num js-line-number" data-line-number="105"></td>
  970.         <td id="LC105" class="blob-code js-file-line">  <span class="pl-k">return</span> <span class="pl-c1">sci_get_char_at</span>(sci, pos);</td>
  971.       </tr>
  972.       <tr>
  973.         <td id="L106" class="blob-num js-line-number" data-line-number="106"></td>
  974.         <td id="LC106" class="blob-code js-file-line">}</td>
  975.       </tr>
  976.       <tr>
  977.         <td id="L107" class="blob-num js-line-number" data-line-number="107"></td>
  978.         <td id="LC107" class="blob-code js-file-line">
  979. </td>
  980.       </tr>
  981.       <tr>
  982.         <td id="L108" class="blob-num js-line-number" data-line-number="108"></td>
  983.         <td id="LC108" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">const</span> gchar *</td>
  984.       </tr>
  985.       <tr>
  986.         <td id="L109" class="blob-num js-line-number" data-line-number="109"></td>
  987.         <td id="LC109" class="blob-code js-file-line"><span class="pl-en">get_char_range</span>(ScintillaObject *sci, gint start, gint length)</td>
  988.       </tr>
  989.       <tr>
  990.         <td id="L110" class="blob-num js-line-number" data-line-number="110"></td>
  991.         <td id="LC110" class="blob-code js-file-line">{</td>
  992.       </tr>
  993.       <tr>
  994.         <td id="L111" class="blob-num js-line-number" data-line-number="111"></td>
  995.         <td id="LC111" class="blob-code js-file-line">  <span class="pl-k">return</span> (<span class="pl-k">const</span> gchar *) <span class="pl-c1">SSM</span>(sci, SCI_GETRANGEPOINTER, start, length);</td>
  996.       </tr>
  997.       <tr>
  998.         <td id="L112" class="blob-num js-line-number" data-line-number="112"></td>
  999.         <td id="LC112" class="blob-code js-file-line">}</td>
  1000.       </tr>
  1001.       <tr>
  1002.         <td id="L113" class="blob-num js-line-number" data-line-number="113"></td>
  1003.         <td id="LC113" class="blob-code js-file-line">
  1004. </td>
  1005.       </tr>
  1006.       <tr>
  1007.         <td id="L114" class="blob-num js-line-number" data-line-number="114"></td>
  1008.         <td id="LC114" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  1009.       </tr>
  1010.       <tr>
  1011.         <td id="L115" class="blob-num js-line-number" data-line-number="115"></td>
  1012.         <td id="LC115" class="blob-code js-file-line"><span class="pl-en">blank_line</span>(ScintillaObject *sci, gint line)</td>
  1013.       </tr>
  1014.       <tr>
  1015.         <td id="L116" class="blob-num js-line-number" data-line-number="116"></td>
  1016.         <td id="LC116" class="blob-code js-file-line">{</td>
  1017.       </tr>
  1018.       <tr>
  1019.         <td id="L117" class="blob-num js-line-number" data-line-number="117"></td>
  1020.         <td id="LC117" class="blob-code js-file-line">  <span class="pl-k">return</span> <span class="pl-c1">get_indent</span>(sci, line) ==</td>
  1021.       </tr>
  1022.       <tr>
  1023.         <td id="L118" class="blob-num js-line-number" data-line-number="118"></td>
  1024.         <td id="LC118" class="blob-code js-file-line">          <span class="pl-c1">sci_get_line_end_position</span>(sci, line);</td>
  1025.       </tr>
  1026.       <tr>
  1027.         <td id="L119" class="blob-num js-line-number" data-line-number="119"></td>
  1028.         <td id="LC119" class="blob-code js-file-line">}</td>
  1029.       </tr>
  1030.       <tr>
  1031.         <td id="L120" class="blob-num js-line-number" data-line-number="120"></td>
  1032.         <td id="LC120" class="blob-code js-file-line">
  1033. </td>
  1034.       </tr>
  1035.       <tr>
  1036.         <td id="L121" class="blob-num js-line-number" data-line-number="121"></td>
  1037.         <td id="LC121" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  1038.       </tr>
  1039.       <tr>
  1040.         <td id="L122" class="blob-num js-line-number" data-line-number="122"></td>
  1041.         <td id="LC122" class="blob-code js-file-line"><span class="pl-en">unindent_line</span>(ScintillaObject *sci, gint line, gint indent_width)</td>
  1042.       </tr>
  1043.       <tr>
  1044.         <td id="L123" class="blob-num js-line-number" data-line-number="123"></td>
  1045.         <td id="LC123" class="blob-code js-file-line">{</td>
  1046.       </tr>
  1047.       <tr>
  1048.         <td id="L124" class="blob-num js-line-number" data-line-number="124"></td>
  1049.         <td id="LC124" class="blob-code js-file-line">  gint indent = <span class="pl-c1">sci_get_line_indentation</span>(sci, line);</td>
  1050.       </tr>
  1051.       <tr>
  1052.         <td id="L125" class="blob-num js-line-number" data-line-number="125"></td>
  1053.         <td id="LC125" class="blob-code js-file-line">  <span class="pl-c1">sci_set_line_indentation</span>(sci, line, indent &gt; <span class="pl-c1">0</span> ? indent - indent_width : <span class="pl-c1">0</span>);</td>
  1054.       </tr>
  1055.       <tr>
  1056.         <td id="L126" class="blob-num js-line-number" data-line-number="126"></td>
  1057.         <td id="LC126" class="blob-code js-file-line">}</td>
  1058.       </tr>
  1059.       <tr>
  1060.         <td id="L127" class="blob-num js-line-number" data-line-number="127"></td>
  1061.         <td id="LC127" class="blob-code js-file-line">
  1062. </td>
  1063.       </tr>
  1064.       <tr>
  1065.         <td id="L128" class="blob-num js-line-number" data-line-number="128"></td>
  1066.         <td id="LC128" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  1067.       </tr>
  1068.       <tr>
  1069.         <td id="L129" class="blob-num js-line-number" data-line-number="129"></td>
  1070.         <td id="LC129" class="blob-code js-file-line"><span class="pl-en">delete_line</span>(ScintillaObject *sci, gint line)</td>
  1071.       </tr>
  1072.       <tr>
  1073.         <td id="L130" class="blob-num js-line-number" data-line-number="130"></td>
  1074.         <td id="LC130" class="blob-code js-file-line">{</td>
  1075.       </tr>
  1076.       <tr>
  1077.         <td id="L131" class="blob-num js-line-number" data-line-number="131"></td>
  1078.         <td id="LC131" class="blob-code js-file-line">  gint start = <span class="pl-c1">sci_get_position_from_line</span>(sci, line);</td>
  1079.       </tr>
  1080.       <tr>
  1081.         <td id="L132" class="blob-num js-line-number" data-line-number="132"></td>
  1082.         <td id="LC132" class="blob-code js-file-line">  gint len = <span class="pl-c1">sci_get_line_length</span>(sci, line);</td>
  1083.       </tr>
  1084.       <tr>
  1085.         <td id="L133" class="blob-num js-line-number" data-line-number="133"></td>
  1086.         <td id="LC133" class="blob-code js-file-line">  <span class="pl-c1">SSM</span>(sci, SCI_DELETERANGE, start, len);</td>
  1087.       </tr>
  1088.       <tr>
  1089.         <td id="L134" class="blob-num js-line-number" data-line-number="134"></td>
  1090.         <td id="LC134" class="blob-code js-file-line">}</td>
  1091.       </tr>
  1092.       <tr>
  1093.         <td id="L135" class="blob-num js-line-number" data-line-number="135"></td>
  1094.         <td id="LC135" class="blob-code js-file-line">
  1095. </td>
  1096.       </tr>
  1097.       <tr>
  1098.         <td id="L136" class="blob-num js-line-number" data-line-number="136"></td>
  1099.         <td id="LC136" class="blob-code js-file-line"><span class="pl-k">static</span> gint</td>
  1100.       </tr>
  1101.       <tr>
  1102.         <td id="L137" class="blob-num js-line-number" data-line-number="137"></td>
  1103.         <td id="LC137" class="blob-code js-file-line"><span class="pl-en">get_lines_selected</span>(ScintillaObject *sci)</td>
  1104.       </tr>
  1105.       <tr>
  1106.         <td id="L138" class="blob-num js-line-number" data-line-number="138"></td>
  1107.         <td id="LC138" class="blob-code js-file-line">{</td>
  1108.       </tr>
  1109.       <tr>
  1110.         <td id="L139" class="blob-num js-line-number" data-line-number="139"></td>
  1111.         <td id="LC139" class="blob-code js-file-line">  gint start = (gint) <span class="pl-c1">SSM</span>(sci, SCI_GETSELECTIONSTART, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>);</td>
  1112.       </tr>
  1113.       <tr>
  1114.         <td id="L140" class="blob-num js-line-number" data-line-number="140"></td>
  1115.         <td id="LC140" class="blob-code js-file-line">  gint end = (gint) <span class="pl-c1">SSM</span>(sci, SCI_GETSELECTIONEND, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>);</td>
  1116.       </tr>
  1117.       <tr>
  1118.         <td id="L141" class="blob-num js-line-number" data-line-number="141"></td>
  1119.         <td id="LC141" class="blob-code js-file-line">  gint line_start;</td>
  1120.       </tr>
  1121.       <tr>
  1122.         <td id="L142" class="blob-num js-line-number" data-line-number="142"></td>
  1123.         <td id="LC142" class="blob-code js-file-line">  gint line_end;</td>
  1124.       </tr>
  1125.       <tr>
  1126.         <td id="L143" class="blob-num js-line-number" data-line-number="143"></td>
  1127.         <td id="LC143" class="blob-code js-file-line">
  1128. </td>
  1129.       </tr>
  1130.       <tr>
  1131.         <td id="L144" class="blob-num js-line-number" data-line-number="144"></td>
  1132.         <td id="LC144" class="blob-code js-file-line">  <span class="pl-k">if</span> (start == end)</td>
  1133.       </tr>
  1134.       <tr>
  1135.         <td id="L145" class="blob-num js-line-number" data-line-number="145"></td>
  1136.         <td id="LC145" class="blob-code js-file-line">          <span class="pl-k">return</span> <span class="pl-c1">0</span>; <span class="pl-c">/* no selection */</span></td>
  1137.       </tr>
  1138.       <tr>
  1139.         <td id="L146" class="blob-num js-line-number" data-line-number="146"></td>
  1140.         <td id="LC146" class="blob-code js-file-line">
  1141. </td>
  1142.       </tr>
  1143.       <tr>
  1144.         <td id="L147" class="blob-num js-line-number" data-line-number="147"></td>
  1145.         <td id="LC147" class="blob-code js-file-line">  line_start = (gint) <span class="pl-c1">SSM</span>(sci, SCI_LINEFROMPOSITION, (<span class="pl-c1">uptr_t</span>) start, <span class="pl-c1">0</span>);</td>
  1146.       </tr>
  1147.       <tr>
  1148.         <td id="L148" class="blob-num js-line-number" data-line-number="148"></td>
  1149.         <td id="LC148" class="blob-code js-file-line">  line_end = (gint) <span class="pl-c1">SSM</span>(sci, SCI_LINEFROMPOSITION, (<span class="pl-c1">uptr_t</span>) end, <span class="pl-c1">0</span>);</td>
  1150.       </tr>
  1151.       <tr>
  1152.         <td id="L149" class="blob-num js-line-number" data-line-number="149"></td>
  1153.         <td id="LC149" class="blob-code js-file-line">
  1154. </td>
  1155.       </tr>
  1156.       <tr>
  1157.         <td id="L150" class="blob-num js-line-number" data-line-number="150"></td>
  1158.         <td id="LC150" class="blob-code js-file-line">  <span class="pl-k">return</span> line_end - line_start + <span class="pl-c1">1</span>;</td>
  1159.       </tr>
  1160.       <tr>
  1161.         <td id="L151" class="blob-num js-line-number" data-line-number="151"></td>
  1162.         <td id="LC151" class="blob-code js-file-line">}</td>
  1163.       </tr>
  1164.       <tr>
  1165.         <td id="L152" class="blob-num js-line-number" data-line-number="152"></td>
  1166.         <td id="LC152" class="blob-code js-file-line">
  1167. </td>
  1168.       </tr>
  1169.       <tr>
  1170.         <td id="L153" class="blob-num js-line-number" data-line-number="153"></td>
  1171.         <td id="LC153" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  1172.       </tr>
  1173.       <tr>
  1174.         <td id="L154" class="blob-num js-line-number" data-line-number="154"></td>
  1175.         <td id="LC154" class="blob-code js-file-line"><span class="pl-en">insert_text</span>(ScintillaObject *sci, gint pos, <span class="pl-k">const</span> gchar *text)</td>
  1176.       </tr>
  1177.       <tr>
  1178.         <td id="L155" class="blob-num js-line-number" data-line-number="155"></td>
  1179.         <td id="LC155" class="blob-code js-file-line">{</td>
  1180.       </tr>
  1181.       <tr>
  1182.         <td id="L156" class="blob-num js-line-number" data-line-number="156"></td>
  1183.         <td id="LC156" class="blob-code js-file-line">  <span class="pl-c1">SSM</span>(sci, SCI_INSERTTEXT, pos, (<span class="pl-c1">sptr_t</span>) text);</td>
  1184.       </tr>
  1185.       <tr>
  1186.         <td id="L157" class="blob-num js-line-number" data-line-number="157"></td>
  1187.         <td id="LC157" class="blob-code js-file-line">}</td>
  1188.       </tr>
  1189.       <tr>
  1190.         <td id="L158" class="blob-num js-line-number" data-line-number="158"></td>
  1191.         <td id="LC158" class="blob-code js-file-line">
  1192. </td>
  1193.       </tr>
  1194.       <tr>
  1195.         <td id="L159" class="blob-num js-line-number" data-line-number="159"></td>
  1196.         <td id="LC159" class="blob-code js-file-line"><span class="pl-k">static</span> gint</td>
  1197.       </tr>
  1198.       <tr>
  1199.         <td id="L160" class="blob-num js-line-number" data-line-number="160"></td>
  1200.         <td id="LC160" class="blob-code js-file-line"><span class="pl-en">get_selections</span>(ScintillaObject *sci)</td>
  1201.       </tr>
  1202.       <tr>
  1203.         <td id="L161" class="blob-num js-line-number" data-line-number="161"></td>
  1204.         <td id="LC161" class="blob-code js-file-line">{</td>
  1205.       </tr>
  1206.       <tr>
  1207.         <td id="L162" class="blob-num js-line-number" data-line-number="162"></td>
  1208.         <td id="LC162" class="blob-code js-file-line">  <span class="pl-k">return</span> (gint) <span class="pl-c1">SSM</span>(sci, SCI_GETSELECTIONS, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>);</td>
  1209.       </tr>
  1210.       <tr>
  1211.         <td id="L163" class="blob-num js-line-number" data-line-number="163"></td>
  1212.         <td id="LC163" class="blob-code js-file-line">}</td>
  1213.       </tr>
  1214.       <tr>
  1215.         <td id="L164" class="blob-num js-line-number" data-line-number="164"></td>
  1216.         <td id="LC164" class="blob-code js-file-line">
  1217. </td>
  1218.       </tr>
  1219.       <tr>
  1220.         <td id="L165" class="blob-num js-line-number" data-line-number="165"></td>
  1221.         <td id="LC165" class="blob-code js-file-line"><span class="pl-k">static</span> gint</td>
  1222.       </tr>
  1223.       <tr>
  1224.         <td id="L166" class="blob-num js-line-number" data-line-number="166"></td>
  1225.         <td id="LC166" class="blob-code js-file-line"><span class="pl-en">get_caret_pos</span>(ScintillaObject *sci, gint selection)</td>
  1226.       </tr>
  1227.       <tr>
  1228.         <td id="L167" class="blob-num js-line-number" data-line-number="167"></td>
  1229.         <td id="LC167" class="blob-code js-file-line">{</td>
  1230.       </tr>
  1231.       <tr>
  1232.         <td id="L168" class="blob-num js-line-number" data-line-number="168"></td>
  1233.         <td id="LC168" class="blob-code js-file-line">  <span class="pl-k">return</span> (gint) <span class="pl-c1">SSM</span>(sci, SCI_GETSELECTIONNCARET, selection, <span class="pl-c1">0</span>);</td>
  1234.       </tr>
  1235.       <tr>
  1236.         <td id="L169" class="blob-num js-line-number" data-line-number="169"></td>
  1237.         <td id="LC169" class="blob-code js-file-line">}</td>
  1238.       </tr>
  1239.       <tr>
  1240.         <td id="L170" class="blob-num js-line-number" data-line-number="170"></td>
  1241.         <td id="LC170" class="blob-code js-file-line">
  1242. </td>
  1243.       </tr>
  1244.       <tr>
  1245.         <td id="L171" class="blob-num js-line-number" data-line-number="171"></td>
  1246.         <td id="LC171" class="blob-code js-file-line"><span class="pl-k">static</span> gint</td>
  1247.       </tr>
  1248.       <tr>
  1249.         <td id="L172" class="blob-num js-line-number" data-line-number="172"></td>
  1250.         <td id="LC172" class="blob-code js-file-line"><span class="pl-en">get_ancor_pos</span>(ScintillaObject *sci, gint selection)</td>
  1251.       </tr>
  1252.       <tr>
  1253.         <td id="L173" class="blob-num js-line-number" data-line-number="173"></td>
  1254.         <td id="LC173" class="blob-code js-file-line">{</td>
  1255.       </tr>
  1256.       <tr>
  1257.         <td id="L174" class="blob-num js-line-number" data-line-number="174"></td>
  1258.         <td id="LC174" class="blob-code js-file-line">  <span class="pl-k">return</span> (gint) <span class="pl-c1">SSM</span>(sci, SCI_GETSELECTIONNANCHOR, selection, <span class="pl-c1">0</span>);</td>
  1259.       </tr>
  1260.       <tr>
  1261.         <td id="L175" class="blob-num js-line-number" data-line-number="175"></td>
  1262.         <td id="LC175" class="blob-code js-file-line">}</td>
  1263.       </tr>
  1264.       <tr>
  1265.         <td id="L176" class="blob-num js-line-number" data-line-number="176"></td>
  1266.         <td id="LC176" class="blob-code js-file-line">
  1267. </td>
  1268.       </tr>
  1269.       <tr>
  1270.         <td id="L177" class="blob-num js-line-number" data-line-number="177"></td>
  1271.         <td id="LC177" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  1272.       </tr>
  1273.       <tr>
  1274.         <td id="L178" class="blob-num js-line-number" data-line-number="178"></td>
  1275.         <td id="LC178" class="blob-code js-file-line"><span class="pl-en">char_is_quote</span>(gchar ch)</td>
  1276.       </tr>
  1277.       <tr>
  1278.         <td id="L179" class="blob-num js-line-number" data-line-number="179"></td>
  1279.         <td id="LC179" class="blob-code js-file-line">{</td>
  1280.       </tr>
  1281.       <tr>
  1282.         <td id="L180" class="blob-num js-line-number" data-line-number="180"></td>
  1283.         <td id="LC180" class="blob-code js-file-line">  <span class="pl-k">return</span> <span class="pl-s"><span class="pl-pds">&#39;</span><span class="pl-cce">\&#39;</span><span class="pl-pds">&#39;</span></span> == ch || <span class="pl-s"><span class="pl-pds">&#39;</span>&quot;<span class="pl-pds">&#39;</span></span> == ch;</td>
  1284.       </tr>
  1285.       <tr>
  1286.         <td id="L181" class="blob-num js-line-number" data-line-number="181"></td>
  1287.         <td id="LC181" class="blob-code js-file-line">}</td>
  1288.       </tr>
  1289.       <tr>
  1290.         <td id="L182" class="blob-num js-line-number" data-line-number="182"></td>
  1291.         <td id="LC182" class="blob-code js-file-line">
  1292. </td>
  1293.       </tr>
  1294.       <tr>
  1295.         <td id="L183" class="blob-num js-line-number" data-line-number="183"></td>
  1296.         <td id="LC183" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  1297.       </tr>
  1298.       <tr>
  1299.         <td id="L184" class="blob-num js-line-number" data-line-number="184"></td>
  1300.         <td id="LC184" class="blob-code js-file-line"><span class="pl-en">char_is_curly_bracket</span>(gchar ch)</td>
  1301.       </tr>
  1302.       <tr>
  1303.         <td id="L185" class="blob-num js-line-number" data-line-number="185"></td>
  1304.         <td id="LC185" class="blob-code js-file-line">{</td>
  1305.       </tr>
  1306.       <tr>
  1307.         <td id="L186" class="blob-num js-line-number" data-line-number="186"></td>
  1308.         <td id="LC186" class="blob-code js-file-line">  <span class="pl-k">return</span> <span class="pl-s"><span class="pl-pds">&#39;</span>{<span class="pl-pds">&#39;</span></span> == ch || <span class="pl-s"><span class="pl-pds">&#39;</span>}<span class="pl-pds">&#39;</span></span> == ch;</td>
  1309.       </tr>
  1310.       <tr>
  1311.         <td id="L187" class="blob-num js-line-number" data-line-number="187"></td>
  1312.         <td id="LC187" class="blob-code js-file-line">}</td>
  1313.       </tr>
  1314.       <tr>
  1315.         <td id="L188" class="blob-num js-line-number" data-line-number="188"></td>
  1316.         <td id="LC188" class="blob-code js-file-line">
  1317. </td>
  1318.       </tr>
  1319.       <tr>
  1320.         <td id="L189" class="blob-num js-line-number" data-line-number="189"></td>
  1321.         <td id="LC189" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  1322.       </tr>
  1323.       <tr>
  1324.         <td id="L190" class="blob-num js-line-number" data-line-number="190"></td>
  1325.         <td id="LC190" class="blob-code js-file-line"><span class="pl-en">isspace_no_newline</span>(gchar ch)</td>
  1326.       </tr>
  1327.       <tr>
  1328.         <td id="L191" class="blob-num js-line-number" data-line-number="191"></td>
  1329.         <td id="LC191" class="blob-code js-file-line">{</td>
  1330.       </tr>
  1331.       <tr>
  1332.         <td id="L192" class="blob-num js-line-number" data-line-number="192"></td>
  1333.         <td id="LC192" class="blob-code js-file-line">  <span class="pl-k">return</span> <span class="pl-c1">g_ascii_isspace</span>(ch) &amp;&amp; ch != <span class="pl-s"><span class="pl-pds">&#39;</span><span class="pl-cce">\n</span><span class="pl-pds">&#39;</span></span> &amp;&amp; ch != <span class="pl-s"><span class="pl-pds">&#39;</span><span class="pl-cce">\r</span><span class="pl-pds">&#39;</span></span>;</td>
  1334.       </tr>
  1335.       <tr>
  1336.         <td id="L193" class="blob-num js-line-number" data-line-number="193"></td>
  1337.         <td id="LC193" class="blob-code js-file-line">}</td>
  1338.       </tr>
  1339.       <tr>
  1340.         <td id="L194" class="blob-num js-line-number" data-line-number="194"></td>
  1341.         <td id="LC194" class="blob-code js-file-line">
  1342. </td>
  1343.       </tr>
  1344.       <tr>
  1345.         <td id="L195" class="blob-num js-line-number" data-line-number="195"></td>
  1346.         <td id="LC195" class="blob-code js-file-line"><span class="pl-c">/**</span></td>
  1347.       </tr>
  1348.       <tr>
  1349.         <td id="L196" class="blob-num js-line-number" data-line-number="196"></td>
  1350.         <td id="LC196" class="blob-code js-file-line"><span class="pl-c"> * This function is based on Geany&#39;s source but has different meaning: check</span></td>
  1351.       </tr>
  1352.       <tr>
  1353.         <td id="L197" class="blob-num js-line-number" data-line-number="197"></td>
  1354.         <td id="LC197" class="blob-code js-file-line"><span class="pl-c"> * ability to enclose selection. Calls only for selected text so using</span></td>
  1355.       </tr>
  1356.       <tr>
  1357.         <td id="L198" class="blob-num js-line-number" data-line-number="198"></td>
  1358.         <td id="LC198" class="blob-code js-file-line"><span class="pl-c"> * sci_get_selection_start/end is ok here.</span></td>
  1359.       </tr>
  1360.       <tr>
  1361.         <td id="L199" class="blob-num js-line-number" data-line-number="199"></td>
  1362.         <td id="LC199" class="blob-code js-file-line"><span class="pl-c"> * */</span></td>
  1363.       </tr>
  1364.       <tr>
  1365.         <td id="L200" class="blob-num js-line-number" data-line-number="200"></td>
  1366.         <td id="LC200" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  1367.       </tr>
  1368.       <tr>
  1369.         <td id="L201" class="blob-num js-line-number" data-line-number="201"></td>
  1370.         <td id="LC201" class="blob-code js-file-line"><span class="pl-en">lexer_has_braces</span>(ScintillaObject *sci, gint lexer)</td>
  1371.       </tr>
  1372.       <tr>
  1373.         <td id="L202" class="blob-num js-line-number" data-line-number="202"></td>
  1374.         <td id="LC202" class="blob-code js-file-line">{</td>
  1375.       </tr>
  1376.       <tr>
  1377.         <td id="L203" class="blob-num js-line-number" data-line-number="203"></td>
  1378.         <td id="LC203" class="blob-code js-file-line">  gint sel_start;</td>
  1379.       </tr>
  1380.       <tr>
  1381.         <td id="L204" class="blob-num js-line-number" data-line-number="204"></td>
  1382.         <td id="LC204" class="blob-code js-file-line">  <span class="pl-k">switch</span> (lexer)</td>
  1383.       </tr>
  1384.       <tr>
  1385.         <td id="L205" class="blob-num js-line-number" data-line-number="205"></td>
  1386.         <td id="LC205" class="blob-code js-file-line">  {</td>
  1387.       </tr>
  1388.       <tr>
  1389.         <td id="L206" class="blob-num js-line-number" data-line-number="206"></td>
  1390.         <td id="LC206" class="blob-code js-file-line">          <span class="pl-k">case</span> SCLEX_CPP:</td>
  1391.       </tr>
  1392.       <tr>
  1393.         <td id="L207" class="blob-num js-line-number" data-line-number="207"></td>
  1394.         <td id="LC207" class="blob-code js-file-line">          <span class="pl-k">case</span> SCLEX_D:</td>
  1395.       </tr>
  1396.       <tr>
  1397.         <td id="L208" class="blob-num js-line-number" data-line-number="208"></td>
  1398.         <td id="LC208" class="blob-code js-file-line">          <span class="pl-k">case</span> SCLEX_PASCAL:</td>
  1399.       </tr>
  1400.       <tr>
  1401.         <td id="L209" class="blob-num js-line-number" data-line-number="209"></td>
  1402.         <td id="LC209" class="blob-code js-file-line">          <span class="pl-k">case</span> SCLEX_TCL:</td>
  1403.       </tr>
  1404.       <tr>
  1405.         <td id="L210" class="blob-num js-line-number" data-line-number="210"></td>
  1406.         <td id="LC210" class="blob-code js-file-line">          <span class="pl-k">case</span> SCLEX_CSS:</td>
  1407.       </tr>
  1408.       <tr>
  1409.         <td id="L211" class="blob-num js-line-number" data-line-number="211"></td>
  1410.         <td id="LC211" class="blob-code js-file-line">                  <span class="pl-k">return</span> <span class="pl-c1">TRUE</span>;</td>
  1411.       </tr>
  1412.       <tr>
  1413.         <td id="L212" class="blob-num js-line-number" data-line-number="212"></td>
  1414.         <td id="LC212" class="blob-code js-file-line">          <span class="pl-k">case</span> SCLEX_HTML:      <span class="pl-c">/* for PHP &amp; JS */</span></td>
  1415.       </tr>
  1416.       <tr>
  1417.         <td id="L213" class="blob-num js-line-number" data-line-number="213"></td>
  1418.         <td id="LC213" class="blob-code js-file-line">          <span class="pl-k">case</span> SCLEX_PERL:</td>
  1419.       </tr>
  1420.       <tr>
  1421.         <td id="L214" class="blob-num js-line-number" data-line-number="214"></td>
  1422.         <td id="LC214" class="blob-code js-file-line">          <span class="pl-k">case</span> SCLEX_BASH:</td>
  1423.       </tr>
  1424.       <tr>
  1425.         <td id="L215" class="blob-num js-line-number" data-line-number="215"></td>
  1426.         <td id="LC215" class="blob-code js-file-line">                  <span class="pl-c">/* PHP, Perl, bash has vars like ${var} */</span></td>
  1427.       </tr>
  1428.       <tr>
  1429.         <td id="L216" class="blob-num js-line-number" data-line-number="216"></td>
  1430.         <td id="LC216" class="blob-code js-file-line">                  <span class="pl-k">if</span> (<span class="pl-c1">get_lines_selected</span>(sci) &gt; <span class="pl-c1">1</span>)</td>
  1431.       </tr>
  1432.       <tr>
  1433.         <td id="L217" class="blob-num js-line-number" data-line-number="217"></td>
  1434.         <td id="LC217" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">TRUE</span>;</td>
  1435.       </tr>
  1436.       <tr>
  1437.         <td id="L218" class="blob-num js-line-number" data-line-number="218"></td>
  1438.         <td id="LC218" class="blob-code js-file-line">                  sel_start = <span class="pl-c1">sci_get_selection_start</span>(sci);</td>
  1439.       </tr>
  1440.       <tr>
  1441.         <td id="L219" class="blob-num js-line-number" data-line-number="219"></td>
  1442.         <td id="LC219" class="blob-code js-file-line">                  <span class="pl-k">if</span> (<span class="pl-s"><span class="pl-pds">&#39;</span>$<span class="pl-pds">&#39;</span></span> == <span class="pl-c1">char_at</span>(sci, sel_start - <span class="pl-c1">1</span>))</td>
  1443.       </tr>
  1444.       <tr>
  1445.         <td id="L220" class="blob-num js-line-number" data-line-number="220"></td>
  1446.         <td id="LC220" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1447.       </tr>
  1448.       <tr>
  1449.         <td id="L221" class="blob-num js-line-number" data-line-number="221"></td>
  1450.         <td id="LC221" class="blob-code js-file-line">                  <span class="pl-k">return</span> <span class="pl-c1">TRUE</span>;</td>
  1451.       </tr>
  1452.       <tr>
  1453.         <td id="L222" class="blob-num js-line-number" data-line-number="222"></td>
  1454.         <td id="LC222" class="blob-code js-file-line">          <span class="pl-k">default</span>:</td>
  1455.       </tr>
  1456.       <tr>
  1457.         <td id="L223" class="blob-num js-line-number" data-line-number="223"></td>
  1458.         <td id="LC223" class="blob-code js-file-line">                  <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1459.       </tr>
  1460.       <tr>
  1461.         <td id="L224" class="blob-num js-line-number" data-line-number="224"></td>
  1462.         <td id="LC224" class="blob-code js-file-line">  }</td>
  1463.       </tr>
  1464.       <tr>
  1465.         <td id="L225" class="blob-num js-line-number" data-line-number="225"></td>
  1466.         <td id="LC225" class="blob-code js-file-line">}</td>
  1467.       </tr>
  1468.       <tr>
  1469.         <td id="L226" class="blob-num js-line-number" data-line-number="226"></td>
  1470.         <td id="LC226" class="blob-code js-file-line">
  1471. </td>
  1472.       </tr>
  1473.       <tr>
  1474.         <td id="L227" class="blob-num js-line-number" data-line-number="227"></td>
  1475.         <td id="LC227" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  1476.       </tr>
  1477.       <tr>
  1478.         <td id="L228" class="blob-num js-line-number" data-line-number="228"></td>
  1479.         <td id="LC228" class="blob-code js-file-line"><span class="pl-en">lexer_cpp_like</span>(gint lexer, gint style)</td>
  1480.       </tr>
  1481.       <tr>
  1482.         <td id="L229" class="blob-num js-line-number" data-line-number="229"></td>
  1483.         <td id="LC229" class="blob-code js-file-line">{</td>
  1484.       </tr>
  1485.       <tr>
  1486.         <td id="L230" class="blob-num js-line-number" data-line-number="230"></td>
  1487.         <td id="LC230" class="blob-code js-file-line">  <span class="pl-k">if</span> (lexer == SCLEX_CPP &amp;&amp; style == SCE_C_IDENTIFIER)</td>
  1488.       </tr>
  1489.       <tr>
  1490.         <td id="L231" class="blob-num js-line-number" data-line-number="231"></td>
  1491.         <td id="LC231" class="blob-code js-file-line">          <span class="pl-k">return</span> <span class="pl-c1">TRUE</span>;</td>
  1492.       </tr>
  1493.       <tr>
  1494.         <td id="L232" class="blob-num js-line-number" data-line-number="232"></td>
  1495.         <td id="LC232" class="blob-code js-file-line">  <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1496.       </tr>
  1497.       <tr>
  1498.         <td id="L233" class="blob-num js-line-number" data-line-number="233"></td>
  1499.         <td id="LC233" class="blob-code js-file-line">}</td>
  1500.       </tr>
  1501.       <tr>
  1502.         <td id="L234" class="blob-num js-line-number" data-line-number="234"></td>
  1503.         <td id="LC234" class="blob-code js-file-line">
  1504. </td>
  1505.       </tr>
  1506.       <tr>
  1507.         <td id="L235" class="blob-num js-line-number" data-line-number="235"></td>
  1508.         <td id="LC235" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  1509.       </tr>
  1510.       <tr>
  1511.         <td id="L236" class="blob-num js-line-number" data-line-number="236"></td>
  1512.         <td id="LC236" class="blob-code js-file-line"><span class="pl-en">filetype_c_or_cpp</span>(gint type)</td>
  1513.       </tr>
  1514.       <tr>
  1515.         <td id="L237" class="blob-num js-line-number" data-line-number="237"></td>
  1516.         <td id="LC237" class="blob-code js-file-line">{</td>
  1517.       </tr>
  1518.       <tr>
  1519.         <td id="L238" class="blob-num js-line-number" data-line-number="238"></td>
  1520.         <td id="LC238" class="blob-code js-file-line">  <span class="pl-k">return</span> type == GEANY_FILETYPES_C || type == GEANY_FILETYPES_CPP;</td>
  1521.       </tr>
  1522.       <tr>
  1523.         <td id="L239" class="blob-num js-line-number" data-line-number="239"></td>
  1524.         <td id="LC239" class="blob-code js-file-line">}</td>
  1525.       </tr>
  1526.       <tr>
  1527.         <td id="L240" class="blob-num js-line-number" data-line-number="240"></td>
  1528.         <td id="LC240" class="blob-code js-file-line">
  1529. </td>
  1530.       </tr>
  1531.       <tr>
  1532.         <td id="L241" class="blob-num js-line-number" data-line-number="241"></td>
  1533.         <td id="LC241" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  1534.       </tr>
  1535.       <tr>
  1536.         <td id="L242" class="blob-num js-line-number" data-line-number="242"></td>
  1537.         <td id="LC242" class="blob-code js-file-line"><span class="pl-en">filetype_cpp</span>(gint type)</td>
  1538.       </tr>
  1539.       <tr>
  1540.         <td id="L243" class="blob-num js-line-number" data-line-number="243"></td>
  1541.         <td id="LC243" class="blob-code js-file-line">{</td>
  1542.       </tr>
  1543.       <tr>
  1544.         <td id="L244" class="blob-num js-line-number" data-line-number="244"></td>
  1545.         <td id="LC244" class="blob-code js-file-line">  <span class="pl-k">return</span> type == GEANY_FILETYPES_CPP;</td>
  1546.       </tr>
  1547.       <tr>
  1548.         <td id="L245" class="blob-num js-line-number" data-line-number="245"></td>
  1549.         <td id="LC245" class="blob-code js-file-line">}</td>
  1550.       </tr>
  1551.       <tr>
  1552.         <td id="L246" class="blob-num js-line-number" data-line-number="246"></td>
  1553.         <td id="LC246" class="blob-code js-file-line">
  1554. </td>
  1555.       </tr>
  1556.       <tr>
  1557.         <td id="L247" class="blob-num js-line-number" data-line-number="247"></td>
  1558.         <td id="LC247" class="blob-code js-file-line"><span class="pl-k">static</span> gint</td>
  1559.       </tr>
  1560.       <tr>
  1561.         <td id="L248" class="blob-num js-line-number" data-line-number="248"></td>
  1562.         <td id="LC248" class="blob-code js-file-line"><span class="pl-en">get_end_pos</span>(ScintillaObject *sci, gint line)</td>
  1563.       </tr>
  1564.       <tr>
  1565.         <td id="L249" class="blob-num js-line-number" data-line-number="249"></td>
  1566.         <td id="LC249" class="blob-code js-file-line">{</td>
  1567.       </tr>
  1568.       <tr>
  1569.         <td id="L250" class="blob-num js-line-number" data-line-number="250"></td>
  1570.         <td id="LC250" class="blob-code js-file-line">  gint end;</td>
  1571.       </tr>
  1572.       <tr>
  1573.         <td id="L251" class="blob-num js-line-number" data-line-number="251"></td>
  1574.         <td id="LC251" class="blob-code js-file-line">  gchar ch;</td>
  1575.       </tr>
  1576.       <tr>
  1577.         <td id="L252" class="blob-num js-line-number" data-line-number="252"></td>
  1578.         <td id="LC252" class="blob-code js-file-line">  end = <span class="pl-c1">sci_get_line_end_position</span>(sci, line);</td>
  1579.       </tr>
  1580.       <tr>
  1581.         <td id="L253" class="blob-num js-line-number" data-line-number="253"></td>
  1582.         <td id="LC253" class="blob-code js-file-line">  ch = <span class="pl-c1">char_at</span>(sci, end - <span class="pl-c1">1</span>);</td>
  1583.       </tr>
  1584.       <tr>
  1585.         <td id="L254" class="blob-num js-line-number" data-line-number="254"></td>
  1586.         <td id="LC254" class="blob-code js-file-line">  <span class="pl-c">/* ignore spaces and &quot;}&quot; */</span></td>
  1587.       </tr>
  1588.       <tr>
  1589.         <td id="L255" class="blob-num js-line-number" data-line-number="255"></td>
  1590.         <td id="LC255" class="blob-code js-file-line">  <span class="pl-k">while</span> (<span class="pl-c1">isspace_no_newline</span>(ch) || <span class="pl-s"><span class="pl-pds">&#39;</span>}<span class="pl-pds">&#39;</span></span> == ch)</td>
  1591.       </tr>
  1592.       <tr>
  1593.         <td id="L256" class="blob-num js-line-number" data-line-number="256"></td>
  1594.         <td id="LC256" class="blob-code js-file-line">  {</td>
  1595.       </tr>
  1596.       <tr>
  1597.         <td id="L257" class="blob-num js-line-number" data-line-number="257"></td>
  1598.         <td id="LC257" class="blob-code js-file-line">          end--;</td>
  1599.       </tr>
  1600.       <tr>
  1601.         <td id="L258" class="blob-num js-line-number" data-line-number="258"></td>
  1602.         <td id="LC258" class="blob-code js-file-line">          ch = <span class="pl-c1">char_at</span>(sci, end - <span class="pl-c1">1</span>);</td>
  1603.       </tr>
  1604.       <tr>
  1605.         <td id="L259" class="blob-num js-line-number" data-line-number="259"></td>
  1606.         <td id="LC259" class="blob-code js-file-line">  }</td>
  1607.       </tr>
  1608.       <tr>
  1609.         <td id="L260" class="blob-num js-line-number" data-line-number="260"></td>
  1610.         <td id="LC260" class="blob-code js-file-line">  <span class="pl-k">return</span> end;</td>
  1611.       </tr>
  1612.       <tr>
  1613.         <td id="L261" class="blob-num js-line-number" data-line-number="261"></td>
  1614.         <td id="LC261" class="blob-code js-file-line">}</td>
  1615.       </tr>
  1616.       <tr>
  1617.         <td id="L262" class="blob-num js-line-number" data-line-number="262"></td>
  1618.         <td id="LC262" class="blob-code js-file-line">
  1619. </td>
  1620.       </tr>
  1621.       <tr>
  1622.         <td id="L263" class="blob-num js-line-number" data-line-number="263"></td>
  1623.         <td id="LC263" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  1624.       </tr>
  1625.       <tr>
  1626.         <td id="L264" class="blob-num js-line-number" data-line-number="264"></td>
  1627.         <td id="LC264" class="blob-code js-file-line"><span class="pl-en">check_chars</span>(</td>
  1628.       </tr>
  1629.       <tr>
  1630.         <td id="L265" class="blob-num js-line-number" data-line-number="265"></td>
  1631.         <td id="LC265" class="blob-code js-file-line">  ScintillaObject *sci,</td>
  1632.       </tr>
  1633.       <tr>
  1634.         <td id="L266" class="blob-num js-line-number" data-line-number="266"></td>
  1635.         <td id="LC266" class="blob-code js-file-line">  gint             ch,</td>
  1636.       </tr>
  1637.       <tr>
  1638.         <td id="L267" class="blob-num js-line-number" data-line-number="267"></td>
  1639.         <td id="LC267" class="blob-code js-file-line">  gchar           *chars_left,</td>
  1640.       </tr>
  1641.       <tr>
  1642.         <td id="L268" class="blob-num js-line-number" data-line-number="268"></td>
  1643.         <td id="LC268" class="blob-code js-file-line">  gchar           *chars_right)</td>
  1644.       </tr>
  1645.       <tr>
  1646.         <td id="L269" class="blob-num js-line-number" data-line-number="269"></td>
  1647.         <td id="LC269" class="blob-code js-file-line">{</td>
  1648.       </tr>
  1649.       <tr>
  1650.         <td id="L270" class="blob-num js-line-number" data-line-number="270"></td>
  1651.         <td id="LC270" class="blob-code js-file-line">  <span class="pl-k">switch</span> (ch)</td>
  1652.       </tr>
  1653.       <tr>
  1654.         <td id="L271" class="blob-num js-line-number" data-line-number="271"></td>
  1655.         <td id="LC271" class="blob-code js-file-line">  {</td>
  1656.       </tr>
  1657.       <tr>
  1658.         <td id="L272" class="blob-num js-line-number" data-line-number="272"></td>
  1659.         <td id="LC272" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>(<span class="pl-pds">&#39;</span></span>:</td>
  1660.       </tr>
  1661.       <tr>
  1662.         <td id="L273" class="blob-num js-line-number" data-line-number="273"></td>
  1663.         <td id="LC273" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>)<span class="pl-pds">&#39;</span></span>:</td>
  1664.       </tr>
  1665.       <tr>
  1666.         <td id="L274" class="blob-num js-line-number" data-line-number="274"></td>
  1667.         <td id="LC274" class="blob-code js-file-line">                  <span class="pl-k">if</span> (!ac_info-&gt;parenthesis)</td>
  1668.       </tr>
  1669.       <tr>
  1670.         <td id="L275" class="blob-num js-line-number" data-line-number="275"></td>
  1671.         <td id="LC275" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1672.       </tr>
  1673.       <tr>
  1674.         <td id="L276" class="blob-num js-line-number" data-line-number="276"></td>
  1675.         <td id="LC276" class="blob-code js-file-line">                  *chars_left = <span class="pl-s"><span class="pl-pds">&#39;</span>(<span class="pl-pds">&#39;</span></span>;</td>
  1676.       </tr>
  1677.       <tr>
  1678.         <td id="L277" class="blob-num js-line-number" data-line-number="277"></td>
  1679.         <td id="LC277" class="blob-code js-file-line">                  *chars_right = <span class="pl-s"><span class="pl-pds">&#39;</span>)<span class="pl-pds">&#39;</span></span>;</td>
  1680.       </tr>
  1681.       <tr>
  1682.         <td id="L278" class="blob-num js-line-number" data-line-number="278"></td>
  1683.         <td id="LC278" class="blob-code js-file-line">                  <span class="pl-k">break</span>;</td>
  1684.       </tr>
  1685.       <tr>
  1686.         <td id="L279" class="blob-num js-line-number" data-line-number="279"></td>
  1687.         <td id="LC279" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>;<span class="pl-pds">&#39;</span></span>:</td>
  1688.       </tr>
  1689.       <tr>
  1690.         <td id="L280" class="blob-num js-line-number" data-line-number="280"></td>
  1691.         <td id="LC280" class="blob-code js-file-line">                  <span class="pl-k">if</span> (!ac_info-&gt;close_functions)</td>
  1692.       </tr>
  1693.       <tr>
  1694.         <td id="L281" class="blob-num js-line-number" data-line-number="281"></td>
  1695.         <td id="LC281" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1696.       </tr>
  1697.       <tr>
  1698.         <td id="L282" class="blob-num js-line-number" data-line-number="282"></td>
  1699.         <td id="LC282" class="blob-code js-file-line">                  <span class="pl-k">break</span>;</td>
  1700.       </tr>
  1701.       <tr>
  1702.         <td id="L283" class="blob-num js-line-number" data-line-number="283"></td>
  1703.         <td id="LC283" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>{<span class="pl-pds">&#39;</span></span>:</td>
  1704.       </tr>
  1705.       <tr>
  1706.         <td id="L284" class="blob-num js-line-number" data-line-number="284"></td>
  1707.         <td id="LC284" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>}<span class="pl-pds">&#39;</span></span>:</td>
  1708.       </tr>
  1709.       <tr>
  1710.         <td id="L285" class="blob-num js-line-number" data-line-number="285"></td>
  1711.         <td id="LC285" class="blob-code js-file-line">                  <span class="pl-k">if</span> (!ac_info-&gt;cbracket)</td>
  1712.       </tr>
  1713.       <tr>
  1714.         <td id="L286" class="blob-num js-line-number" data-line-number="286"></td>
  1715.         <td id="LC286" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1716.       </tr>
  1717.       <tr>
  1718.         <td id="L287" class="blob-num js-line-number" data-line-number="287"></td>
  1719.         <td id="LC287" class="blob-code js-file-line">                  *chars_left = <span class="pl-s"><span class="pl-pds">&#39;</span>{<span class="pl-pds">&#39;</span></span>;</td>
  1720.       </tr>
  1721.       <tr>
  1722.         <td id="L288" class="blob-num js-line-number" data-line-number="288"></td>
  1723.         <td id="LC288" class="blob-code js-file-line">                  *chars_right = <span class="pl-s"><span class="pl-pds">&#39;</span>}<span class="pl-pds">&#39;</span></span>;</td>
  1724.       </tr>
  1725.       <tr>
  1726.         <td id="L289" class="blob-num js-line-number" data-line-number="289"></td>
  1727.         <td id="LC289" class="blob-code js-file-line">                  <span class="pl-k">break</span>;</td>
  1728.       </tr>
  1729.       <tr>
  1730.         <td id="L290" class="blob-num js-line-number" data-line-number="290"></td>
  1731.         <td id="LC290" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>[<span class="pl-pds">&#39;</span></span>:</td>
  1732.       </tr>
  1733.       <tr>
  1734.         <td id="L291" class="blob-num js-line-number" data-line-number="291"></td>
  1735.         <td id="LC291" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>]<span class="pl-pds">&#39;</span></span>:</td>
  1736.       </tr>
  1737.       <tr>
  1738.         <td id="L292" class="blob-num js-line-number" data-line-number="292"></td>
  1739.         <td id="LC292" class="blob-code js-file-line">                  <span class="pl-k">if</span> (!ac_info-&gt;sbracket)</td>
  1740.       </tr>
  1741.       <tr>
  1742.         <td id="L293" class="blob-num js-line-number" data-line-number="293"></td>
  1743.         <td id="LC293" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1744.       </tr>
  1745.       <tr>
  1746.         <td id="L294" class="blob-num js-line-number" data-line-number="294"></td>
  1747.         <td id="LC294" class="blob-code js-file-line">                  *chars_left = <span class="pl-s"><span class="pl-pds">&#39;</span>[<span class="pl-pds">&#39;</span></span>;</td>
  1748.       </tr>
  1749.       <tr>
  1750.         <td id="L295" class="blob-num js-line-number" data-line-number="295"></td>
  1751.         <td id="LC295" class="blob-code js-file-line">                  *chars_right = <span class="pl-s"><span class="pl-pds">&#39;</span>]<span class="pl-pds">&#39;</span></span>;</td>
  1752.       </tr>
  1753.       <tr>
  1754.         <td id="L296" class="blob-num js-line-number" data-line-number="296"></td>
  1755.         <td id="LC296" class="blob-code js-file-line">                  <span class="pl-k">break</span>;</td>
  1756.       </tr>
  1757.       <tr>
  1758.         <td id="L297" class="blob-num js-line-number" data-line-number="297"></td>
  1759.         <td id="LC297" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>&lt;<span class="pl-pds">&#39;</span></span>:</td>
  1760.       </tr>
  1761.       <tr>
  1762.         <td id="L298" class="blob-num js-line-number" data-line-number="298"></td>
  1763.         <td id="LC298" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>&gt;<span class="pl-pds">&#39;</span></span>:</td>
  1764.       </tr>
  1765.       <tr>
  1766.         <td id="L299" class="blob-num js-line-number" data-line-number="299"></td>
  1767.         <td id="LC299" class="blob-code js-file-line">                  <span class="pl-k">if</span> (!ac_info-&gt;abracket)</td>
  1768.       </tr>
  1769.       <tr>
  1770.         <td id="L300" class="blob-num js-line-number" data-line-number="300"></td>
  1771.         <td id="LC300" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1772.       </tr>
  1773.       <tr>
  1774.         <td id="L301" class="blob-num js-line-number" data-line-number="301"></td>
  1775.         <td id="LC301" class="blob-code js-file-line">                  <span class="pl-k">if</span> (ac_info-&gt;abracket_htmlonly &amp;&amp;</td>
  1776.       </tr>
  1777.       <tr>
  1778.         <td id="L302" class="blob-num js-line-number" data-line-number="302"></td>
  1779.         <td id="LC302" class="blob-code js-file-line">                                  <span class="pl-c1">sci_get_lexer</span>(sci) != SCLEX_HTML)</td>
  1780.       </tr>
  1781.       <tr>
  1782.         <td id="L303" class="blob-num js-line-number" data-line-number="303"></td>
  1783.         <td id="LC303" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1784.       </tr>
  1785.       <tr>
  1786.         <td id="L304" class="blob-num js-line-number" data-line-number="304"></td>
  1787.         <td id="LC304" class="blob-code js-file-line">                  *chars_left = <span class="pl-s"><span class="pl-pds">&#39;</span>&lt;<span class="pl-pds">&#39;</span></span>;</td>
  1788.       </tr>
  1789.       <tr>
  1790.         <td id="L305" class="blob-num js-line-number" data-line-number="305"></td>
  1791.         <td id="LC305" class="blob-code js-file-line">                  *chars_right = <span class="pl-s"><span class="pl-pds">&#39;</span>&gt;<span class="pl-pds">&#39;</span></span>;</td>
  1792.       </tr>
  1793.       <tr>
  1794.         <td id="L306" class="blob-num js-line-number" data-line-number="306"></td>
  1795.         <td id="LC306" class="blob-code js-file-line">                  <span class="pl-k">break</span>;</td>
  1796.       </tr>
  1797.       <tr>
  1798.         <td id="L307" class="blob-num js-line-number" data-line-number="307"></td>
  1799.         <td id="LC307" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span><span class="pl-cce">\&#39;</span><span class="pl-pds">&#39;</span></span>:</td>
  1800.       </tr>
  1801.       <tr>
  1802.         <td id="L308" class="blob-num js-line-number" data-line-number="308"></td>
  1803.         <td id="LC308" class="blob-code js-file-line">                  <span class="pl-k">if</span> (!ac_info-&gt;squote)</td>
  1804.       </tr>
  1805.       <tr>
  1806.         <td id="L309" class="blob-num js-line-number" data-line-number="309"></td>
  1807.         <td id="LC309" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1808.       </tr>
  1809.       <tr>
  1810.         <td id="L310" class="blob-num js-line-number" data-line-number="310"></td>
  1811.         <td id="LC310" class="blob-code js-file-line">                  *chars_left = *chars_right = ch;</td>
  1812.       </tr>
  1813.       <tr>
  1814.         <td id="L311" class="blob-num js-line-number" data-line-number="311"></td>
  1815.         <td id="LC311" class="blob-code js-file-line">                  <span class="pl-k">break</span>;</td>
  1816.       </tr>
  1817.       <tr>
  1818.         <td id="L312" class="blob-num js-line-number" data-line-number="312"></td>
  1819.         <td id="LC312" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>&quot;<span class="pl-pds">&#39;</span></span>:</td>
  1820.       </tr>
  1821.       <tr>
  1822.         <td id="L313" class="blob-num js-line-number" data-line-number="313"></td>
  1823.         <td id="LC313" class="blob-code js-file-line">                  <span class="pl-k">if</span> (!ac_info-&gt;dquote)</td>
  1824.       </tr>
  1825.       <tr>
  1826.         <td id="L314" class="blob-num js-line-number" data-line-number="314"></td>
  1827.         <td id="LC314" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1828.       </tr>
  1829.       <tr>
  1830.         <td id="L315" class="blob-num js-line-number" data-line-number="315"></td>
  1831.         <td id="LC315" class="blob-code js-file-line">                  *chars_left = *chars_right = ch;</td>
  1832.       </tr>
  1833.       <tr>
  1834.         <td id="L316" class="blob-num js-line-number" data-line-number="316"></td>
  1835.         <td id="LC316" class="blob-code js-file-line">                  <span class="pl-k">break</span>;</td>
  1836.       </tr>
  1837.       <tr>
  1838.         <td id="L317" class="blob-num js-line-number" data-line-number="317"></td>
  1839.         <td id="LC317" class="blob-code js-file-line">          <span class="pl-k">case</span> <span class="pl-s"><span class="pl-pds">&#39;</span>`<span class="pl-pds">&#39;</span></span>:</td>
  1840.       </tr>
  1841.       <tr>
  1842.         <td id="L318" class="blob-num js-line-number" data-line-number="318"></td>
  1843.         <td id="LC318" class="blob-code js-file-line">                  <span class="pl-k">if</span> (!ac_info-&gt;backquote)</td>
  1844.       </tr>
  1845.       <tr>
  1846.         <td id="L319" class="blob-num js-line-number" data-line-number="319"></td>
  1847.         <td id="LC319" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1848.       </tr>
  1849.       <tr>
  1850.         <td id="L320" class="blob-num js-line-number" data-line-number="320"></td>
  1851.         <td id="LC320" class="blob-code js-file-line">                  <span class="pl-k">if</span> (ac_info-&gt;backquote_bashonly &amp;&amp;</td>
  1852.       </tr>
  1853.       <tr>
  1854.         <td id="L321" class="blob-num js-line-number" data-line-number="321"></td>
  1855.         <td id="LC321" class="blob-code js-file-line">                                  <span class="pl-c1">sci_get_lexer</span>(sci) != SCLEX_BASH)</td>
  1856.       </tr>
  1857.       <tr>
  1858.         <td id="L322" class="blob-num js-line-number" data-line-number="322"></td>
  1859.         <td id="LC322" class="blob-code js-file-line">                          <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1860.       </tr>
  1861.       <tr>
  1862.         <td id="L323" class="blob-num js-line-number" data-line-number="323"></td>
  1863.         <td id="LC323" class="blob-code js-file-line">                  *chars_left = *chars_right = ch;</td>
  1864.       </tr>
  1865.       <tr>
  1866.         <td id="L324" class="blob-num js-line-number" data-line-number="324"></td>
  1867.         <td id="LC324" class="blob-code js-file-line">                  <span class="pl-k">break</span>;</td>
  1868.       </tr>
  1869.       <tr>
  1870.         <td id="L325" class="blob-num js-line-number" data-line-number="325"></td>
  1871.         <td id="LC325" class="blob-code js-file-line">          <span class="pl-k">default</span>:</td>
  1872.       </tr>
  1873.       <tr>
  1874.         <td id="L326" class="blob-num js-line-number" data-line-number="326"></td>
  1875.         <td id="LC326" class="blob-code js-file-line">                  <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  1876.       </tr>
  1877.       <tr>
  1878.         <td id="L327" class="blob-num js-line-number" data-line-number="327"></td>
  1879.         <td id="LC327" class="blob-code js-file-line">  }</td>
  1880.       </tr>
  1881.       <tr>
  1882.         <td id="L328" class="blob-num js-line-number" data-line-number="328"></td>
  1883.         <td id="LC328" class="blob-code js-file-line">  <span class="pl-k">return</span> <span class="pl-c1">TRUE</span>;</td>
  1884.       </tr>
  1885.       <tr>
  1886.         <td id="L329" class="blob-num js-line-number" data-line-number="329"></td>
  1887.         <td id="LC329" class="blob-code js-file-line">}</td>
  1888.       </tr>
  1889.       <tr>
  1890.         <td id="L330" class="blob-num js-line-number" data-line-number="330"></td>
  1891.         <td id="LC330" class="blob-code js-file-line">
  1892. </td>
  1893.       </tr>
  1894.       <tr>
  1895.         <td id="L331" class="blob-num js-line-number" data-line-number="331"></td>
  1896.         <td id="LC331" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  1897.       </tr>
  1898.       <tr>
  1899.         <td id="L332" class="blob-num js-line-number" data-line-number="332"></td>
  1900.         <td id="LC332" class="blob-code js-file-line"><span class="pl-en">improve_indent</span>(</td>
  1901.       </tr>
  1902.       <tr>
  1903.         <td id="L333" class="blob-num js-line-number" data-line-number="333"></td>
  1904.         <td id="LC333" class="blob-code js-file-line">  ScintillaObject *sci,</td>
  1905.       </tr>
  1906.       <tr>
  1907.         <td id="L334" class="blob-num js-line-number" data-line-number="334"></td>
  1908.         <td id="LC334" class="blob-code js-file-line">  GeanyEditor     *editor,</td>
  1909.       </tr>
  1910.       <tr>
  1911.         <td id="L335" class="blob-num js-line-number" data-line-number="335"></td>
  1912.         <td id="LC335" class="blob-code js-file-line">  gint             pos)</td>
  1913.       </tr>
  1914.       <tr>
  1915.         <td id="L336" class="blob-num js-line-number" data-line-number="336"></td>
  1916.         <td id="LC336" class="blob-code js-file-line">{</td>
  1917.       </tr>
  1918.       <tr>
  1919.         <td id="L337" class="blob-num js-line-number" data-line-number="337"></td>
  1920.         <td id="LC337" class="blob-code js-file-line">  gint ch, ch_next;</td>
  1921.       </tr>
  1922.       <tr>
  1923.         <td id="L338" class="blob-num js-line-number" data-line-number="338"></td>
  1924.         <td id="LC338" class="blob-code js-file-line">  gint line;</td>
  1925.       </tr>
  1926.       <tr>
  1927.         <td id="L339" class="blob-num js-line-number" data-line-number="339"></td>
  1928.         <td id="LC339" class="blob-code js-file-line">  gint indent, indent_width;</td>
  1929.       </tr>
  1930.       <tr>
  1931.         <td id="L340" class="blob-num js-line-number" data-line-number="340"></td>
  1932.         <td id="LC340" class="blob-code js-file-line">  gint end_pos;</td>
  1933.       </tr>
  1934.       <tr>
  1935.         <td id="L341" class="blob-num js-line-number" data-line-number="341"></td>
  1936.         <td id="LC341" class="blob-code js-file-line">  <span class="pl-k">if</span> (!ac_info-&gt;improved_cbracket_indent)</td>
  1937.       </tr>
  1938.       <tr>
  1939.         <td id="L342" class="blob-num js-line-number" data-line-number="342"></td>
  1940.         <td id="LC342" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  1941.       </tr>
  1942.       <tr>
  1943.         <td id="L343" class="blob-num js-line-number" data-line-number="343"></td>
  1944.         <td id="LC343" class="blob-code js-file-line">  ch = <span class="pl-c1">char_at</span>(sci, pos - <span class="pl-c1">1</span>);</td>
  1945.       </tr>
  1946.       <tr>
  1947.         <td id="L344" class="blob-num js-line-number" data-line-number="344"></td>
  1948.         <td id="LC344" class="blob-code js-file-line">  <span class="pl-k">if</span> (ch != <span class="pl-s"><span class="pl-pds">&#39;</span>{<span class="pl-pds">&#39;</span></span>)</td>
  1949.       </tr>
  1950.       <tr>
  1951.         <td id="L345" class="blob-num js-line-number" data-line-number="345"></td>
  1952.         <td id="LC345" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  1953.       </tr>
  1954.       <tr>
  1955.         <td id="L346" class="blob-num js-line-number" data-line-number="346"></td>
  1956.         <td id="LC346" class="blob-code js-file-line">  <span class="pl-c">/* if curly bracket completion is enabled - just make indents</span></td>
  1957.       </tr>
  1958.       <tr>
  1959.         <td id="L347" class="blob-num js-line-number" data-line-number="347"></td>
  1960.         <td id="LC347" class="blob-code js-file-line"><span class="pl-c">        * but ensure that second &quot;}&quot; exists. If disabled - make indent</span></td>
  1961.       </tr>
  1962.       <tr>
  1963.         <td id="L348" class="blob-num js-line-number" data-line-number="348"></td>
  1964.         <td id="LC348" class="blob-code js-file-line"><span class="pl-c">        * and complete second curly bracket */</span></td>
  1965.       </tr>
  1966.       <tr>
  1967.         <td id="L349" class="blob-num js-line-number" data-line-number="349"></td>
  1968.         <td id="LC349" class="blob-code js-file-line">  ch_next = <span class="pl-c1">char_at</span>(sci, pos);</td>
  1969.       </tr>
  1970.       <tr>
  1971.         <td id="L350" class="blob-num js-line-number" data-line-number="350"></td>
  1972.         <td id="LC350" class="blob-code js-file-line">  <span class="pl-k">if</span> (ac_info-&gt;cbracket &amp;&amp; ch_next != <span class="pl-s"><span class="pl-pds">&#39;</span>}<span class="pl-pds">&#39;</span></span>)</td>
  1973.       </tr>
  1974.       <tr>
  1975.         <td id="L351" class="blob-num js-line-number" data-line-number="351"></td>
  1976.         <td id="LC351" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  1977.       </tr>
  1978.       <tr>
  1979.         <td id="L352" class="blob-num js-line-number" data-line-number="352"></td>
  1980.         <td id="LC352" class="blob-code js-file-line">  line = <span class="pl-c1">sci_get_line_from_position</span>(sci, pos);</td>
  1981.       </tr>
  1982.       <tr>
  1983.         <td id="L353" class="blob-num js-line-number" data-line-number="353"></td>
  1984.         <td id="LC353" class="blob-code js-file-line">  indent = <span class="pl-c1">sci_get_line_indentation</span>(sci, line);</td>
  1985.       </tr>
  1986.       <tr>
  1987.         <td id="L354" class="blob-num js-line-number" data-line-number="354"></td>
  1988.         <td id="LC354" class="blob-code js-file-line">  indent_width = <span class="pl-c1">editor_get_indent_prefs</span>(editor)-&gt;width;</td>
  1989.       </tr>
  1990.       <tr>
  1991.         <td id="L355" class="blob-num js-line-number" data-line-number="355"></td>
  1992.         <td id="LC355" class="blob-code js-file-line">  <span class="pl-c1">sci_start_undo_action</span>(sci);</td>
  1993.       </tr>
  1994.       <tr>
  1995.         <td id="L356" class="blob-num js-line-number" data-line-number="356"></td>
  1996.         <td id="LC356" class="blob-code js-file-line">  <span class="pl-k">if</span> (ac_info-&gt;cbracket)</td>
  1997.       </tr>
  1998.       <tr>
  1999.         <td id="L357" class="blob-num js-line-number" data-line-number="357"></td>
  2000.         <td id="LC357" class="blob-code js-file-line">          <span class="pl-c1">SSM</span>(sci, SCI_ADDTEXT, <span class="pl-c1">2</span>, (<span class="pl-c1">sptr_t</span>)<span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-cce">\n\n</span><span class="pl-pds">&quot;</span></span>);</td>
  2001.       </tr>
  2002.       <tr>
  2003.         <td id="L358" class="blob-num js-line-number" data-line-number="358"></td>
  2004.         <td id="LC358" class="blob-code js-file-line">  <span class="pl-k">else</span></td>
  2005.       </tr>
  2006.       <tr>
  2007.         <td id="L359" class="blob-num js-line-number" data-line-number="359"></td>
  2008.         <td id="LC359" class="blob-code js-file-line">          <span class="pl-c1">SSM</span>(sci, SCI_ADDTEXT, <span class="pl-c1">3</span>, (<span class="pl-c1">sptr_t</span>)<span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-cce">\n\n</span>}<span class="pl-pds">&quot;</span></span>);</td>
  2009.       </tr>
  2010.       <tr>
  2011.         <td id="L360" class="blob-num js-line-number" data-line-number="360"></td>
  2012.         <td id="LC360" class="blob-code js-file-line">  <span class="pl-k">if</span> (ac_info-&gt;whitesmiths_style)</td>
  2013.       </tr>
  2014.       <tr>
  2015.         <td id="L361" class="blob-num js-line-number" data-line-number="361"></td>
  2016.         <td id="LC361" class="blob-code js-file-line">  {</td>
  2017.       </tr>
  2018.       <tr>
  2019.         <td id="L362" class="blob-num js-line-number" data-line-number="362"></td>
  2020.         <td id="LC362" class="blob-code js-file-line">          <span class="pl-c1">sci_set_line_indentation</span>(sci, line,     indent);</td>
  2021.       </tr>
  2022.       <tr>
  2023.         <td id="L363" class="blob-num js-line-number" data-line-number="363"></td>
  2024.         <td id="LC363" class="blob-code js-file-line">          <span class="pl-c1">sci_set_line_indentation</span>(sci, line + <span class="pl-c1">1</span>, indent);</td>
  2025.       </tr>
  2026.       <tr>
  2027.         <td id="L364" class="blob-num js-line-number" data-line-number="364"></td>
  2028.         <td id="LC364" class="blob-code js-file-line">          <span class="pl-c1">sci_set_line_indentation</span>(sci, line + <span class="pl-c1">2</span>, indent);</td>
  2029.       </tr>
  2030.       <tr>
  2031.         <td id="L365" class="blob-num js-line-number" data-line-number="365"></td>
  2032.         <td id="LC365" class="blob-code js-file-line">  }</td>
  2033.       </tr>
  2034.       <tr>
  2035.         <td id="L366" class="blob-num js-line-number" data-line-number="366"></td>
  2036.         <td id="LC366" class="blob-code js-file-line">  <span class="pl-k">else</span></td>
  2037.       </tr>
  2038.       <tr>
  2039.         <td id="L367" class="blob-num js-line-number" data-line-number="367"></td>
  2040.         <td id="LC367" class="blob-code js-file-line">  {</td>
  2041.       </tr>
  2042.       <tr>
  2043.         <td id="L368" class="blob-num js-line-number" data-line-number="368"></td>
  2044.         <td id="LC368" class="blob-code js-file-line">          <span class="pl-c1">sci_set_line_indentation</span>(sci, line + <span class="pl-c1">1</span>, indent + indent_width);</td>
  2045.       </tr>
  2046.       <tr>
  2047.         <td id="L369" class="blob-num js-line-number" data-line-number="369"></td>
  2048.         <td id="LC369" class="blob-code js-file-line">          <span class="pl-c1">sci_set_line_indentation</span>(sci, line + <span class="pl-c1">2</span>, indent);</td>
  2049.       </tr>
  2050.       <tr>
  2051.         <td id="L370" class="blob-num js-line-number" data-line-number="370"></td>
  2052.         <td id="LC370" class="blob-code js-file-line">  }</td>
  2053.       </tr>
  2054.       <tr>
  2055.         <td id="L371" class="blob-num js-line-number" data-line-number="371"></td>
  2056.         <td id="LC371" class="blob-code js-file-line">  <span class="pl-c">/* move to the end of added line */</span></td>
  2057.       </tr>
  2058.       <tr>
  2059.         <td id="L372" class="blob-num js-line-number" data-line-number="372"></td>
  2060.         <td id="LC372" class="blob-code js-file-line">  end_pos = <span class="pl-c1">sci_get_line_end_position</span>(sci, line + <span class="pl-c1">1</span>);</td>
  2061.       </tr>
  2062.       <tr>
  2063.         <td id="L373" class="blob-num js-line-number" data-line-number="373"></td>
  2064.         <td id="LC373" class="blob-code js-file-line">  <span class="pl-c1">sci_set_current_position</span>(sci, end_pos, <span class="pl-c1">TRUE</span>);</td>
  2065.       </tr>
  2066.       <tr>
  2067.         <td id="L374" class="blob-num js-line-number" data-line-number="374"></td>
  2068.         <td id="LC374" class="blob-code js-file-line">  <span class="pl-c1">sci_end_undo_action</span>(sci);</td>
  2069.       </tr>
  2070.       <tr>
  2071.         <td id="L375" class="blob-num js-line-number" data-line-number="375"></td>
  2072.         <td id="LC375" class="blob-code js-file-line">  <span class="pl-c">/* do not alow internal auto-indenter to do the work */</span></td>
  2073.       </tr>
  2074.       <tr>
  2075.         <td id="L376" class="blob-num js-line-number" data-line-number="376"></td>
  2076.         <td id="LC376" class="blob-code js-file-line">  <span class="pl-k">return</span> AC_STOP_ACTION;</td>
  2077.       </tr>
  2078.       <tr>
  2079.         <td id="L377" class="blob-num js-line-number" data-line-number="377"></td>
  2080.         <td id="LC377" class="blob-code js-file-line">}</td>
  2081.       </tr>
  2082.       <tr>
  2083.         <td id="L378" class="blob-num js-line-number" data-line-number="378"></td>
  2084.         <td id="LC378" class="blob-code js-file-line">
  2085. </td>
  2086.       </tr>
  2087.       <tr>
  2088.         <td id="L379" class="blob-num js-line-number" data-line-number="379"></td>
  2089.         <td id="LC379" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  2090.       </tr>
  2091.       <tr>
  2092.         <td id="L380" class="blob-num js-line-number" data-line-number="380"></td>
  2093.         <td id="LC380" class="blob-code js-file-line"><span class="pl-en">handle_backspace</span>(</td>
  2094.       </tr>
  2095.       <tr>
  2096.         <td id="L381" class="blob-num js-line-number" data-line-number="381"></td>
  2097.         <td id="LC381" class="blob-code js-file-line">  AutocloseUserData *data,</td>
  2098.       </tr>
  2099.       <tr>
  2100.         <td id="L382" class="blob-num js-line-number" data-line-number="382"></td>
  2101.         <td id="LC382" class="blob-code js-file-line">  ScintillaObject   *sci,</td>
  2102.       </tr>
  2103.       <tr>
  2104.         <td id="L383" class="blob-num js-line-number" data-line-number="383"></td>
  2105.         <td id="LC383" class="blob-code js-file-line">  gchar              ch,</td>
  2106.       </tr>
  2107.       <tr>
  2108.         <td id="L384" class="blob-num js-line-number" data-line-number="384"></td>
  2109.         <td id="LC384" class="blob-code js-file-line">  gchar             *ch_left,</td>
  2110.       </tr>
  2111.       <tr>
  2112.         <td id="L385" class="blob-num js-line-number" data-line-number="385"></td>
  2113.         <td id="LC385" class="blob-code js-file-line">  gchar             *ch_right,</td>
  2114.       </tr>
  2115.       <tr>
  2116.         <td id="L386" class="blob-num js-line-number" data-line-number="386"></td>
  2117.         <td id="LC386" class="blob-code js-file-line">  GdkEventKey       *event,</td>
  2118.       </tr>
  2119.       <tr>
  2120.         <td id="L387" class="blob-num js-line-number" data-line-number="387"></td>
  2121.         <td id="LC387" class="blob-code js-file-line">  gint               indent_width)</td>
  2122.       </tr>
  2123.       <tr>
  2124.         <td id="L388" class="blob-num js-line-number" data-line-number="388"></td>
  2125.         <td id="LC388" class="blob-code js-file-line">{</td>
  2126.       </tr>
  2127.       <tr>
  2128.         <td id="L389" class="blob-num js-line-number" data-line-number="389"></td>
  2129.         <td id="LC389" class="blob-code js-file-line">  gint pos = <span class="pl-c1">sci_get_current_position</span>(sci);</td>
  2130.       </tr>
  2131.       <tr>
  2132.         <td id="L390" class="blob-num js-line-number" data-line-number="390"></td>
  2133.         <td id="LC390" class="blob-code js-file-line">  gint end_pos;</td>
  2134.       </tr>
  2135.       <tr>
  2136.         <td id="L391" class="blob-num js-line-number" data-line-number="391"></td>
  2137.         <td id="LC391" class="blob-code js-file-line">  gint line_start, line_end, line;</td>
  2138.       </tr>
  2139.       <tr>
  2140.         <td id="L392" class="blob-num js-line-number" data-line-number="392"></td>
  2141.         <td id="LC392" class="blob-code js-file-line">  gint i;</td>
  2142.       </tr>
  2143.       <tr>
  2144.         <td id="L393" class="blob-num js-line-number" data-line-number="393"></td>
  2145.         <td id="LC393" class="blob-code js-file-line">  <span class="pl-k">if</span> (!ac_info-&gt;delete_pairing_brace)</td>
  2146.       </tr>
  2147.       <tr>
  2148.         <td id="L394" class="blob-num js-line-number" data-line-number="394"></td>
  2149.         <td id="LC394" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  2150.       </tr>
  2151.       <tr>
  2152.         <td id="L395" class="blob-num js-line-number" data-line-number="395"></td>
  2153.         <td id="LC395" class="blob-code js-file-line">  ch = <span class="pl-c1">char_at</span>(sci, pos - <span class="pl-c1">1</span>);</td>
  2154.       </tr>
  2155.       <tr>
  2156.         <td id="L396" class="blob-num js-line-number" data-line-number="396"></td>
  2157.         <td id="LC396" class="blob-code js-file-line">
  2158. </td>
  2159.       </tr>
  2160.       <tr>
  2161.         <td id="L397" class="blob-num js-line-number" data-line-number="397"></td>
  2162.         <td id="LC397" class="blob-code js-file-line">  <span class="pl-k">if</span> (!<span class="pl-c1">check_chars</span>(sci, ch, ch_left, ch_right))</td>
  2163.       </tr>
  2164.       <tr>
  2165.         <td id="L398" class="blob-num js-line-number" data-line-number="398"></td>
  2166.         <td id="LC398" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  2167.       </tr>
  2168.       <tr>
  2169.         <td id="L399" class="blob-num js-line-number" data-line-number="399"></td>
  2170.         <td id="LC399" class="blob-code js-file-line">
  2171. </td>
  2172.       </tr>
  2173.       <tr>
  2174.         <td id="L400" class="blob-num js-line-number" data-line-number="400"></td>
  2175.         <td id="LC400" class="blob-code js-file-line">  <span class="pl-k">if</span> (event-&gt;state &amp; GDK_SHIFT_MASK)</td>
  2176.       </tr>
  2177.       <tr>
  2178.         <td id="L401" class="blob-num js-line-number" data-line-number="401"></td>
  2179.         <td id="LC401" class="blob-code js-file-line">  {</td>
  2180.       </tr>
  2181.       <tr>
  2182.         <td id="L402" class="blob-num js-line-number" data-line-number="402"></td>
  2183.         <td id="LC402" class="blob-code js-file-line">          <span class="pl-k">if</span> ((ch_left[<span class="pl-c1">0</span>] == ch || ch_right[<span class="pl-c1">0</span>] == ch) &amp;&amp;</td>
  2184.       </tr>
  2185.       <tr>
  2186.         <td id="L403" class="blob-num js-line-number" data-line-number="403"></td>
  2187.         <td id="LC403" class="blob-code js-file-line">                          ac_info-&gt;bcksp_remove_pair)</td>
  2188.       </tr>
  2189.       <tr>
  2190.         <td id="L404" class="blob-num js-line-number" data-line-number="404"></td>
  2191.         <td id="LC404" class="blob-code js-file-line">          {</td>
  2192.       </tr>
  2193.       <tr>
  2194.         <td id="L405" class="blob-num js-line-number" data-line-number="405"></td>
  2195.         <td id="LC405" class="blob-code js-file-line">                  end_pos = <span class="pl-c1">sci_find_matching_brace</span>(sci, pos - <span class="pl-c1">1</span>);</td>
  2196.       </tr>
  2197.       <tr>
  2198.         <td id="L406" class="blob-num js-line-number" data-line-number="406"></td>
  2199.         <td id="LC406" class="blob-code js-file-line">                  <span class="pl-k">if</span> (-<span class="pl-c1">1</span> == end_pos)</td>
  2200.       </tr>
  2201.       <tr>
  2202.         <td id="L407" class="blob-num js-line-number" data-line-number="407"></td>
  2203.         <td id="LC407" class="blob-code js-file-line">                          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  2204.       </tr>
  2205.       <tr>
  2206.         <td id="L408" class="blob-num js-line-number" data-line-number="408"></td>
  2207.         <td id="LC408" class="blob-code js-file-line">                  <span class="pl-c1">sci_start_undo_action</span>(sci);</td>
  2208.       </tr>
  2209.       <tr>
  2210.         <td id="L409" class="blob-num js-line-number" data-line-number="409"></td>
  2211.         <td id="LC409" class="blob-code js-file-line">                  line_start = <span class="pl-c1">sci_get_line_from_position</span>(sci, pos);</td>
  2212.       </tr>
  2213.       <tr>
  2214.         <td id="L410" class="blob-num js-line-number" data-line-number="410"></td>
  2215.         <td id="LC410" class="blob-code js-file-line">                  line_end = <span class="pl-c1">sci_get_line_from_position</span>(sci, end_pos);</td>
  2216.       </tr>
  2217.       <tr>
  2218.         <td id="L411" class="blob-num js-line-number" data-line-number="411"></td>
  2219.         <td id="LC411" class="blob-code js-file-line">                  <span class="pl-c1">SSM</span>(sci, SCI_DELETERANGE, end_pos, <span class="pl-c1">1</span>);</td>
  2220.       </tr>
  2221.       <tr>
  2222.         <td id="L412" class="blob-num js-line-number" data-line-number="412"></td>
  2223.         <td id="LC412" class="blob-code js-file-line">                  <span class="pl-k">if</span> (end_pos &lt; pos)</td>
  2224.       </tr>
  2225.       <tr>
  2226.         <td id="L413" class="blob-num js-line-number" data-line-number="413"></td>
  2227.         <td id="LC413" class="blob-code js-file-line">                          pos--;</td>
  2228.       </tr>
  2229.       <tr>
  2230.         <td id="L414" class="blob-num js-line-number" data-line-number="414"></td>
  2231.         <td id="LC414" class="blob-code js-file-line">                  <span class="pl-c1">SSM</span>(sci, SCI_DELETERANGE, pos - <span class="pl-c1">1</span>, <span class="pl-c1">1</span>);</td>
  2232.       </tr>
  2233.       <tr>
  2234.         <td id="L415" class="blob-num js-line-number" data-line-number="415"></td>
  2235.         <td id="LC415" class="blob-code js-file-line">                  <span class="pl-c">/* remove indentation magick */</span></td>
  2236.       </tr>
  2237.       <tr>
  2238.         <td id="L416" class="blob-num js-line-number" data-line-number="416"></td>
  2239.         <td id="LC416" class="blob-code js-file-line">                  <span class="pl-k">if</span> (<span class="pl-c1">char_is_curly_bracket</span>(ch))</td>
  2240.       </tr>
  2241.       <tr>
  2242.         <td id="L417" class="blob-num js-line-number" data-line-number="417"></td>
  2243.         <td id="LC417" class="blob-code js-file-line">                  {</td>
  2244.       </tr>
  2245.       <tr>
  2246.         <td id="L418" class="blob-num js-line-number" data-line-number="418"></td>
  2247.         <td id="LC418" class="blob-code js-file-line">                          <span class="pl-k">if</span> (line_start == line_end)</td>
  2248.       </tr>
  2249.       <tr>
  2250.         <td id="L419" class="blob-num js-line-number" data-line-number="419"></td>
  2251.         <td id="LC419" class="blob-code js-file-line">                                  <span class="pl-k">goto</span> final;</td>
  2252.       </tr>
  2253.       <tr>
  2254.         <td id="L420" class="blob-num js-line-number" data-line-number="420"></td>
  2255.         <td id="LC420" class="blob-code js-file-line">                          <span class="pl-k">if</span> (line_start &gt; line_end)</td>
  2256.       </tr>
  2257.       <tr>
  2258.         <td id="L421" class="blob-num js-line-number" data-line-number="421"></td>
  2259.         <td id="LC421" class="blob-code js-file-line">                          {</td>
  2260.       </tr>
  2261.       <tr>
  2262.         <td id="L422" class="blob-num js-line-number" data-line-number="422"></td>
  2263.         <td id="LC422" class="blob-code js-file-line">                                  line = line_end;</td>
  2264.       </tr>
  2265.       <tr>
  2266.         <td id="L423" class="blob-num js-line-number" data-line-number="423"></td>
  2267.         <td id="LC423" class="blob-code js-file-line">                                  line_end = line_start;</td>
  2268.       </tr>
  2269.       <tr>
  2270.         <td id="L424" class="blob-num js-line-number" data-line-number="424"></td>
  2271.         <td id="LC424" class="blob-code js-file-line">                                  line_start = line;</td>
  2272.       </tr>
  2273.       <tr>
  2274.         <td id="L425" class="blob-num js-line-number" data-line-number="425"></td>
  2275.         <td id="LC425" class="blob-code js-file-line">                          }</td>
  2276.       </tr>
  2277.       <tr>
  2278.         <td id="L426" class="blob-num js-line-number" data-line-number="426"></td>
  2279.         <td id="LC426" class="blob-code js-file-line">                          <span class="pl-k">if</span> (<span class="pl-c1">blank_line</span>(sci, line_start))</td>
  2280.       </tr>
  2281.       <tr>
  2282.         <td id="L427" class="blob-num js-line-number" data-line-number="427"></td>
  2283.         <td id="LC427" class="blob-code js-file-line">                          {</td>
  2284.       </tr>
  2285.       <tr>
  2286.         <td id="L428" class="blob-num js-line-number" data-line-number="428"></td>
  2287.         <td id="LC428" class="blob-code js-file-line">                                  <span class="pl-c1">delete_line</span>(sci, line_start);</td>
  2288.       </tr>
  2289.       <tr>
  2290.         <td id="L429" class="blob-num js-line-number" data-line-number="429"></td>
  2291.         <td id="LC429" class="blob-code js-file-line">                                  line_end--;</td>
  2292.       </tr>
  2293.       <tr>
  2294.         <td id="L430" class="blob-num js-line-number" data-line-number="430"></td>
  2295.         <td id="LC430" class="blob-code js-file-line">                          }</td>
  2296.       </tr>
  2297.       <tr>
  2298.         <td id="L431" class="blob-num js-line-number" data-line-number="431"></td>
  2299.         <td id="LC431" class="blob-code js-file-line">                          <span class="pl-k">else</span></td>
  2300.       </tr>
  2301.       <tr>
  2302.         <td id="L432" class="blob-num js-line-number" data-line-number="432"></td>
  2303.         <td id="LC432" class="blob-code js-file-line">                                  line_start++;</td>
  2304.       </tr>
  2305.       <tr>
  2306.         <td id="L433" class="blob-num js-line-number" data-line-number="433"></td>
  2307.         <td id="LC433" class="blob-code js-file-line">                          <span class="pl-k">if</span> (<span class="pl-c1">blank_line</span>(sci, line_end))</td>
  2308.       </tr>
  2309.       <tr>
  2310.         <td id="L434" class="blob-num js-line-number" data-line-number="434"></td>
  2311.         <td id="LC434" class="blob-code js-file-line">                                  <span class="pl-c1">delete_line</span>(sci, line_end);</td>
  2312.       </tr>
  2313.       <tr>
  2314.         <td id="L435" class="blob-num js-line-number" data-line-number="435"></td>
  2315.         <td id="LC435" class="blob-code js-file-line">                          line_end--;</td>
  2316.       </tr>
  2317.       <tr>
  2318.         <td id="L436" class="blob-num js-line-number" data-line-number="436"></td>
  2319.         <td id="LC436" class="blob-code js-file-line">                          <span class="pl-c">/* unindent */</span></td>
  2320.       </tr>
  2321.       <tr>
  2322.         <td id="L437" class="blob-num js-line-number" data-line-number="437"></td>
  2323.         <td id="LC437" class="blob-code js-file-line">                          <span class="pl-k">for</span> (i = line_start; i &lt;= line_end; i++)</td>
  2324.       </tr>
  2325.       <tr>
  2326.         <td id="L438" class="blob-num js-line-number" data-line-number="438"></td>
  2327.         <td id="LC438" class="blob-code js-file-line">                          {</td>
  2328.       </tr>
  2329.       <tr>
  2330.         <td id="L439" class="blob-num js-line-number" data-line-number="439"></td>
  2331.         <td id="LC439" class="blob-code js-file-line">                                  <span class="pl-c1">unindent_line</span>(sci, i, indent_width);</td>
  2332.       </tr>
  2333.       <tr>
  2334.         <td id="L440" class="blob-num js-line-number" data-line-number="440"></td>
  2335.         <td id="LC440" class="blob-code js-file-line">                          }</td>
  2336.       </tr>
  2337.       <tr>
  2338.         <td id="L441" class="blob-num js-line-number" data-line-number="441"></td>
  2339.         <td id="LC441" class="blob-code js-file-line">                  }</td>
  2340.       </tr>
  2341.       <tr>
  2342.         <td id="L442" class="blob-num js-line-number" data-line-number="442"></td>
  2343.         <td id="LC442" class="blob-code js-file-line">final:</td>
  2344.       </tr>
  2345.       <tr>
  2346.         <td id="L443" class="blob-num js-line-number" data-line-number="443"></td>
  2347.         <td id="LC443" class="blob-code js-file-line">                  <span class="pl-c1">sci_end_undo_action</span>(sci);</td>
  2348.       </tr>
  2349.       <tr>
  2350.         <td id="L444" class="blob-num js-line-number" data-line-number="444"></td>
  2351.         <td id="LC444" class="blob-code js-file-line">                  <span class="pl-k">return</span> AC_STOP_ACTION;</td>
  2352.       </tr>
  2353.       <tr>
  2354.         <td id="L445" class="blob-num js-line-number" data-line-number="445"></td>
  2355.         <td id="LC445" class="blob-code js-file-line">          }</td>
  2356.       </tr>
  2357.       <tr>
  2358.         <td id="L446" class="blob-num js-line-number" data-line-number="446"></td>
  2359.         <td id="LC446" class="blob-code js-file-line">  }</td>
  2360.       </tr>
  2361.       <tr>
  2362.         <td id="L447" class="blob-num js-line-number" data-line-number="447"></td>
  2363.         <td id="LC447" class="blob-code js-file-line">
  2364. </td>
  2365.       </tr>
  2366.       <tr>
  2367.         <td id="L448" class="blob-num js-line-number" data-line-number="448"></td>
  2368.         <td id="LC448" class="blob-code js-file-line">  <span class="pl-c">/* handle \&#39;|&#39; situation */</span></td>
  2369.       </tr>
  2370.       <tr>
  2371.         <td id="L449" class="blob-num js-line-number" data-line-number="449"></td>
  2372.         <td id="LC449" class="blob-code js-file-line">  <span class="pl-k">if</span> (<span class="pl-c1">char_is_quote</span>(ch) &amp;&amp; <span class="pl-c1">char_at</span>(sci, pos - <span class="pl-c1">2</span>) == <span class="pl-s"><span class="pl-pds">&#39;</span><span class="pl-cce">\\</span><span class="pl-pds">&#39;</span></span>)</td>
  2373.       </tr>
  2374.       <tr>
  2375.         <td id="L450" class="blob-num js-line-number" data-line-number="450"></td>
  2376.         <td id="LC450" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  2377.       </tr>
  2378.       <tr>
  2379.         <td id="L451" class="blob-num js-line-number" data-line-number="451"></td>
  2380.         <td id="LC451" class="blob-code js-file-line">
  2381. </td>
  2382.       </tr>
  2383.       <tr>
  2384.         <td id="L452" class="blob-num js-line-number" data-line-number="452"></td>
  2385.         <td id="LC452" class="blob-code js-file-line">  <span class="pl-k">if</span> (ch_left[<span class="pl-c1">0</span>] == ch &amp;&amp; ch_right[<span class="pl-c1">0</span>] == <span class="pl-c1">char_at</span>(sci, pos))</td>
  2386.       </tr>
  2387.       <tr>
  2388.         <td id="L453" class="blob-num js-line-number" data-line-number="453"></td>
  2389.         <td id="LC453" class="blob-code js-file-line">  {</td>
  2390.       </tr>
  2391.       <tr>
  2392.         <td id="L454" class="blob-num js-line-number" data-line-number="454"></td>
  2393.         <td id="LC454" class="blob-code js-file-line">          <span class="pl-c1">SSM</span>(sci, SCI_DELETERANGE, pos, <span class="pl-c1">1</span>);</td>
  2394.       </tr>
  2395.       <tr>
  2396.         <td id="L455" class="blob-num js-line-number" data-line-number="455"></td>
  2397.         <td id="LC455" class="blob-code js-file-line">          data-&gt;jump_on_tab = <span class="pl-c1">0</span>;</td>
  2398.       </tr>
  2399.       <tr>
  2400.         <td id="L456" class="blob-num js-line-number" data-line-number="456"></td>
  2401.         <td id="LC456" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  2402.       </tr>
  2403.       <tr>
  2404.         <td id="L457" class="blob-num js-line-number" data-line-number="457"></td>
  2405.         <td id="LC457" class="blob-code js-file-line">  }</td>
  2406.       </tr>
  2407.       <tr>
  2408.         <td id="L458" class="blob-num js-line-number" data-line-number="458"></td>
  2409.         <td id="LC458" class="blob-code js-file-line">  <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  2410.       </tr>
  2411.       <tr>
  2412.         <td id="L459" class="blob-num js-line-number" data-line-number="459"></td>
  2413.         <td id="LC459" class="blob-code js-file-line">}</td>
  2414.       </tr>
  2415.       <tr>
  2416.         <td id="L460" class="blob-num js-line-number" data-line-number="460"></td>
  2417.         <td id="LC460" class="blob-code js-file-line">
  2418. </td>
  2419.       </tr>
  2420.       <tr>
  2421.         <td id="L461" class="blob-num js-line-number" data-line-number="461"></td>
  2422.         <td id="LC461" class="blob-code js-file-line">
  2423. </td>
  2424.       </tr>
  2425.       <tr>
  2426.         <td id="L462" class="blob-num js-line-number" data-line-number="462"></td>
  2427.         <td id="LC462" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  2428.       </tr>
  2429.       <tr>
  2430.         <td id="L463" class="blob-num js-line-number" data-line-number="463"></td>
  2431.         <td id="LC463" class="blob-code js-file-line"><span class="pl-en">enclose_selection</span>(</td>
  2432.       </tr>
  2433.       <tr>
  2434.         <td id="L464" class="blob-num js-line-number" data-line-number="464"></td>
  2435.         <td id="LC464" class="blob-code js-file-line">  AutocloseUserData *data,</td>
  2436.       </tr>
  2437.       <tr>
  2438.         <td id="L465" class="blob-num js-line-number" data-line-number="465"></td>
  2439.         <td id="LC465" class="blob-code js-file-line">  ScintillaObject   *sci,</td>
  2440.       </tr>
  2441.       <tr>
  2442.         <td id="L466" class="blob-num js-line-number" data-line-number="466"></td>
  2443.         <td id="LC466" class="blob-code js-file-line">  gchar              ch,</td>
  2444.       </tr>
  2445.       <tr>
  2446.         <td id="L467" class="blob-num js-line-number" data-line-number="467"></td>
  2447.         <td id="LC467" class="blob-code js-file-line">  gint               lexer,</td>
  2448.       </tr>
  2449.       <tr>
  2450.         <td id="L468" class="blob-num js-line-number" data-line-number="468"></td>
  2451.         <td id="LC468" class="blob-code js-file-line">  gint               style,</td>
  2452.       </tr>
  2453.       <tr>
  2454.         <td id="L469" class="blob-num js-line-number" data-line-number="469"></td>
  2455.         <td id="LC469" class="blob-code js-file-line">  gchar             *chars_left,</td>
  2456.       </tr>
  2457.       <tr>
  2458.         <td id="L470" class="blob-num js-line-number" data-line-number="470"></td>
  2459.         <td id="LC470" class="blob-code js-file-line">  gchar             *chars_right,</td>
  2460.       </tr>
  2461.       <tr>
  2462.         <td id="L471" class="blob-num js-line-number" data-line-number="471"></td>
  2463.         <td id="LC471" class="blob-code js-file-line">  GeanyEditor       *editor)</td>
  2464.       </tr>
  2465.       <tr>
  2466.         <td id="L472" class="blob-num js-line-number" data-line-number="472"></td>
  2467.         <td id="LC472" class="blob-code js-file-line">{</td>
  2468.       </tr>
  2469.       <tr>
  2470.         <td id="L473" class="blob-num js-line-number" data-line-number="473"></td>
  2471.         <td id="LC473" class="blob-code js-file-line">  gint       i;</td>
  2472.       </tr>
  2473.       <tr>
  2474.         <td id="L474" class="blob-num js-line-number" data-line-number="474"></td>
  2475.         <td id="LC474" class="blob-code js-file-line">  gint       start, end;</td>
  2476.       </tr>
  2477.       <tr>
  2478.         <td id="L475" class="blob-num js-line-number" data-line-number="475"></td>
  2479.         <td id="LC475" class="blob-code js-file-line">  gboolean   in_comment;</td>
  2480.       </tr>
  2481.       <tr>
  2482.         <td id="L476" class="blob-num js-line-number" data-line-number="476"></td>
  2483.         <td id="LC476" class="blob-code js-file-line">  gint       start_line, start_pos, end_line, text_end_pos;</td>
  2484.       </tr>
  2485.       <tr>
  2486.         <td id="L477" class="blob-num js-line-number" data-line-number="477"></td>
  2487.         <td id="LC477" class="blob-code js-file-line">  gint       start_indent, indent_width, current_indent;</td>
  2488.       </tr>
  2489.       <tr>
  2490.         <td id="L478" class="blob-num js-line-number" data-line-number="478"></td>
  2491.         <td id="LC478" class="blob-code js-file-line">
  2492. </td>
  2493.       </tr>
  2494.       <tr>
  2495.         <td id="L479" class="blob-num js-line-number" data-line-number="479"></td>
  2496.         <td id="LC479" class="blob-code js-file-line">  start = <span class="pl-c1">sci_get_selection_start</span>(sci);</td>
  2497.       </tr>
  2498.       <tr>
  2499.         <td id="L480" class="blob-num js-line-number" data-line-number="480"></td>
  2500.         <td id="LC480" class="blob-code js-file-line">  end = <span class="pl-c1">sci_get_selection_end</span>(sci);</td>
  2501.       </tr>
  2502.       <tr>
  2503.         <td id="L481" class="blob-num js-line-number" data-line-number="481"></td>
  2504.         <td id="LC481" class="blob-code js-file-line">
  2505. </td>
  2506.       </tr>
  2507.       <tr>
  2508.         <td id="L482" class="blob-num js-line-number" data-line-number="482"></td>
  2509.         <td id="LC482" class="blob-code js-file-line">  <span class="pl-c">/* case if selection covers mixed style */</span></td>
  2510.       </tr>
  2511.       <tr>
  2512.         <td id="L483" class="blob-num js-line-number" data-line-number="483"></td>
  2513.         <td id="LC483" class="blob-code js-file-line">  <span class="pl-k">if</span> (<span class="pl-c1">highlighting_is_code_style</span>(lexer, <span class="pl-c1">sci_get_style_at</span>(sci, start)) !=</td>
  2514.       </tr>
  2515.       <tr>
  2516.         <td id="L484" class="blob-num js-line-number" data-line-number="484"></td>
  2517.         <td id="LC484" class="blob-code js-file-line">           <span class="pl-c1">highlighting_is_code_style</span>(lexer, <span class="pl-c1">sci_get_style_at</span>(sci, end)))</td>
  2518.       </tr>
  2519.       <tr>
  2520.         <td id="L485" class="blob-num js-line-number" data-line-number="485"></td>
  2521.         <td id="LC485" class="blob-code js-file-line">          in_comment = <span class="pl-c1">FALSE</span>;</td>
  2522.       </tr>
  2523.       <tr>
  2524.         <td id="L486" class="blob-num js-line-number" data-line-number="486"></td>
  2525.         <td id="LC486" class="blob-code js-file-line">  <span class="pl-k">else</span></td>
  2526.       </tr>
  2527.       <tr>
  2528.         <td id="L487" class="blob-num js-line-number" data-line-number="487"></td>
  2529.         <td id="LC487" class="blob-code js-file-line">          in_comment = !<span class="pl-c1">highlighting_is_code_style</span>(lexer, style);</td>
  2530.       </tr>
  2531.       <tr>
  2532.         <td id="L488" class="blob-num js-line-number" data-line-number="488"></td>
  2533.         <td id="LC488" class="blob-code js-file-line">  <span class="pl-k">if</span> (!ac_info-&gt;comments_enclose &amp;&amp; in_comment)</td>
  2534.       </tr>
  2535.       <tr>
  2536.         <td id="L489" class="blob-num js-line-number" data-line-number="489"></td>
  2537.         <td id="LC489" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  2538.       </tr>
  2539.       <tr>
  2540.         <td id="L490" class="blob-num js-line-number" data-line-number="490"></td>
  2541.         <td id="LC490" class="blob-code js-file-line">
  2542. </td>
  2543.       </tr>
  2544.       <tr>
  2545.         <td id="L491" class="blob-num js-line-number" data-line-number="491"></td>
  2546.         <td id="LC491" class="blob-code js-file-line">  <span class="pl-c1">sci_start_undo_action</span>(sci);</td>
  2547.       </tr>
  2548.       <tr>
  2549.         <td id="L492" class="blob-num js-line-number" data-line-number="492"></td>
  2550.         <td id="LC492" class="blob-code js-file-line">
  2551. </td>
  2552.       </tr>
  2553.       <tr>
  2554.         <td id="L493" class="blob-num js-line-number" data-line-number="493"></td>
  2555.         <td id="LC493" class="blob-code js-file-line">
  2556. </td>
  2557.       </tr>
  2558.       <tr>
  2559.         <td id="L494" class="blob-num js-line-number" data-line-number="494"></td>
  2560.         <td id="LC494" class="blob-code js-file-line">  <span class="pl-c">/* Insert {} block - special case: make indents, move cursor to beginning */</span></td>
  2561.       </tr>
  2562.       <tr>
  2563.         <td id="L495" class="blob-num js-line-number" data-line-number="495"></td>
  2564.         <td id="LC495" class="blob-code js-file-line">  <span class="pl-k">if</span> (<span class="pl-c1">char_is_curly_bracket</span>(ch) &amp;&amp; <span class="pl-c1">lexer_has_braces</span>(sci, lexer) &amp;&amp;</td>
  2565.       </tr>
  2566.       <tr>
  2567.         <td id="L496" class="blob-num js-line-number" data-line-number="496"></td>
  2568.         <td id="LC496" class="blob-code js-file-line">                  ac_info-&gt;make_indent_for_cbracket &amp;&amp; !in_comment)</td>
  2569.       </tr>
  2570.       <tr>
  2571.         <td id="L497" class="blob-num js-line-number" data-line-number="497"></td>
  2572.         <td id="LC497" class="blob-code js-file-line">  {</td>
  2573.       </tr>
  2574.       <tr>
  2575.         <td id="L498" class="blob-num js-line-number" data-line-number="498"></td>
  2576.         <td id="LC498" class="blob-code js-file-line">          start_line = <span class="pl-c1">sci_get_line_from_position</span>(sci, start);</td>
  2577.       </tr>
  2578.       <tr>
  2579.         <td id="L499" class="blob-num js-line-number" data-line-number="499"></td>
  2580.         <td id="LC499" class="blob-code js-file-line">          start_pos = <span class="pl-c1">SSM</span>(sci, SCI_GETLINEINDENTPOSITION, (<span class="pl-c1">uptr_t</span>)start_line, <span class="pl-c1">0</span>);</td>
  2581.       </tr>
  2582.       <tr>
  2583.         <td id="L500" class="blob-num js-line-number" data-line-number="500"></td>
  2584.         <td id="LC500" class="blob-code js-file-line">          <span class="pl-c1">insert_text</span>(sci, start_pos, <span class="pl-s"><span class="pl-pds">&quot;</span>{<span class="pl-cce">\n</span><span class="pl-pds">&quot;</span></span>);</td>
  2585.       </tr>
  2586.       <tr>
  2587.         <td id="L501" class="blob-num js-line-number" data-line-number="501"></td>
  2588.         <td id="LC501" class="blob-code js-file-line">
  2589. </td>
  2590.       </tr>
  2591.       <tr>
  2592.         <td id="L502" class="blob-num js-line-number" data-line-number="502"></td>
  2593.         <td id="LC502" class="blob-code js-file-line">          end_line = <span class="pl-c1">sci_get_line_from_position</span>(sci, end);</td>
  2594.       </tr>
  2595.       <tr>
  2596.         <td id="L503" class="blob-num js-line-number" data-line-number="503"></td>
  2597.         <td id="LC503" class="blob-code js-file-line">          start_indent = <span class="pl-c1">sci_get_line_indentation</span>(sci, start_line);</td>
  2598.       </tr>
  2599.       <tr>
  2600.         <td id="L504" class="blob-num js-line-number" data-line-number="504"></td>
  2601.         <td id="LC504" class="blob-code js-file-line">          indent_width = <span class="pl-c1">editor_get_indent_prefs</span>(editor)-&gt;width;</td>
  2602.       </tr>
  2603.       <tr>
  2604.         <td id="L505" class="blob-num js-line-number" data-line-number="505"></td>
  2605.         <td id="LC505" class="blob-code js-file-line">          <span class="pl-c1">sci_set_line_indentation</span>(sci, start_line, start_indent);</td>
  2606.       </tr>
  2607.       <tr>
  2608.         <td id="L506" class="blob-num js-line-number" data-line-number="506"></td>
  2609.         <td id="LC506" class="blob-code js-file-line">          <span class="pl-k">if</span> (!ac_info-&gt;whitesmiths_style)</td>
  2610.       </tr>
  2611.       <tr>
  2612.         <td id="L507" class="blob-num js-line-number" data-line-number="507"></td>
  2613.         <td id="LC507" class="blob-code js-file-line">                  <span class="pl-c1">sci_set_line_indentation</span>(sci, start_line + <span class="pl-c1">1</span>, start_indent + indent_width);</td>
  2614.       </tr>
  2615.       <tr>
  2616.         <td id="L508" class="blob-num js-line-number" data-line-number="508"></td>
  2617.         <td id="LC508" class="blob-code js-file-line">          <span class="pl-k">else</span></td>
  2618.       </tr>
  2619.       <tr>
  2620.         <td id="L509" class="blob-num js-line-number" data-line-number="509"></td>
  2621.         <td id="LC509" class="blob-code js-file-line">                  <span class="pl-c1">sci_set_line_indentation</span>(sci, start_line + <span class="pl-c1">1</span>, start_indent);</td>
  2622.       </tr>
  2623.       <tr>
  2624.         <td id="L510" class="blob-num js-line-number" data-line-number="510"></td>
  2625.         <td id="LC510" class="blob-code js-file-line">          <span class="pl-k">for</span> (i = start_line + <span class="pl-c1">2</span>; i &lt;= end_line; i++)</td>
  2626.       </tr>
  2627.       <tr>
  2628.         <td id="L511" class="blob-num js-line-number" data-line-number="511"></td>
  2629.         <td id="LC511" class="blob-code js-file-line">          {</td>
  2630.       </tr>
  2631.       <tr>
  2632.         <td id="L512" class="blob-num js-line-number" data-line-number="512"></td>
  2633.         <td id="LC512" class="blob-code js-file-line">                  current_indent = <span class="pl-c1">sci_get_line_indentation</span>(sci, i);</td>
  2634.       </tr>
  2635.       <tr>
  2636.         <td id="L513" class="blob-num js-line-number" data-line-number="513"></td>
  2637.         <td id="LC513" class="blob-code js-file-line">                  <span class="pl-k">if</span> (!ac_info-&gt;whitesmiths_style)</td>
  2638.       </tr>
  2639.       <tr>
  2640.         <td id="L514" class="blob-num js-line-number" data-line-number="514"></td>
  2641.         <td id="LC514" class="blob-code js-file-line">                          <span class="pl-c1">sci_set_line_indentation</span>(sci, i, current_indent + indent_width);</td>
  2642.       </tr>
  2643.       <tr>
  2644.         <td id="L515" class="blob-num js-line-number" data-line-number="515"></td>
  2645.         <td id="LC515" class="blob-code js-file-line">                  <span class="pl-k">else</span></td>
  2646.       </tr>
  2647.       <tr>
  2648.         <td id="L516" class="blob-num js-line-number" data-line-number="516"></td>
  2649.         <td id="LC516" class="blob-code js-file-line">                          <span class="pl-c1">sci_set_line_indentation</span>(sci, i, current_indent);</td>
  2650.       </tr>
  2651.       <tr>
  2652.         <td id="L517" class="blob-num js-line-number" data-line-number="517"></td>
  2653.         <td id="LC517" class="blob-code js-file-line">          }</td>
  2654.       </tr>
  2655.       <tr>
  2656.         <td id="L518" class="blob-num js-line-number" data-line-number="518"></td>
  2657.         <td id="LC518" class="blob-code js-file-line">          text_end_pos = <span class="pl-c1">sci_get_line_end_position</span>(sci, i - <span class="pl-c1">1</span>);</td>
  2658.       </tr>
  2659.       <tr>
  2660.         <td id="L519" class="blob-num js-line-number" data-line-number="519"></td>
  2661.         <td id="LC519" class="blob-code js-file-line">          <span class="pl-c1">sci_set_current_position</span>(sci, text_end_pos, <span class="pl-c1">FALSE</span>);</td>
  2662.       </tr>
  2663.       <tr>
  2664.         <td id="L520" class="blob-num js-line-number" data-line-number="520"></td>
  2665.         <td id="LC520" class="blob-code js-file-line">          <span class="pl-c1">SSM</span>(sci, SCI_ADDTEXT, <span class="pl-c1">2</span>, (<span class="pl-c1">sptr_t</span>)<span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-cce">\n</span>}<span class="pl-pds">&quot;</span></span>);</td>
  2666.       </tr>
  2667.       <tr>
  2668.         <td id="L521" class="blob-num js-line-number" data-line-number="521"></td>
  2669.         <td id="LC521" class="blob-code js-file-line">          <span class="pl-c1">sci_set_line_indentation</span>(sci, i, start_indent);</td>
  2670.       </tr>
  2671.       <tr>
  2672.         <td id="L522" class="blob-num js-line-number" data-line-number="522"></td>
  2673.         <td id="LC522" class="blob-code js-file-line">          <span class="pl-k">if</span> (ac_info-&gt;move_cursor_to_beginning)</td>
  2674.       </tr>
  2675.       <tr>
  2676.         <td id="L523" class="blob-num js-line-number" data-line-number="523"></td>
  2677.         <td id="LC523" class="blob-code js-file-line">                  <span class="pl-c1">sci_set_current_position</span>(sci, start_pos, <span class="pl-c1">TRUE</span>);</td>
  2678.       </tr>
  2679.       <tr>
  2680.         <td id="L524" class="blob-num js-line-number" data-line-number="524"></td>
  2681.         <td id="LC524" class="blob-code js-file-line">  }</td>
  2682.       </tr>
  2683.       <tr>
  2684.         <td id="L525" class="blob-num js-line-number" data-line-number="525"></td>
  2685.         <td id="LC525" class="blob-code js-file-line">  <span class="pl-k">else</span></td>
  2686.       </tr>
  2687.       <tr>
  2688.         <td id="L526" class="blob-num js-line-number" data-line-number="526"></td>
  2689.         <td id="LC526" class="blob-code js-file-line">  {</td>
  2690.       </tr>
  2691.       <tr>
  2692.         <td id="L527" class="blob-num js-line-number" data-line-number="527"></td>
  2693.         <td id="LC527" class="blob-code js-file-line">          gint selections = <span class="pl-c1">get_selections</span>(sci);</td>
  2694.       </tr>
  2695.       <tr>
  2696.         <td id="L528" class="blob-num js-line-number" data-line-number="528"></td>
  2697.         <td id="LC528" class="blob-code js-file-line">          <span class="pl-c">/* specially handle rectangular selection */</span></td>
  2698.       </tr>
  2699.       <tr>
  2700.         <td id="L529" class="blob-num js-line-number" data-line-number="529"></td>
  2701.         <td id="LC529" class="blob-code js-file-line">          <span class="pl-k">if</span> (selections &gt; <span class="pl-c1">1</span>)</td>
  2702.       </tr>
  2703.       <tr>
  2704.         <td id="L530" class="blob-num js-line-number" data-line-number="530"></td>
  2705.         <td id="LC530" class="blob-code js-file-line">          {</td>
  2706.       </tr>
  2707.       <tr>
  2708.         <td id="L531" class="blob-num js-line-number" data-line-number="531"></td>
  2709.         <td id="LC531" class="blob-code js-file-line">                  gint *sels_left = <span class="pl-c1">g_malloc</span>(selections * <span class="pl-k">sizeof</span>(gint));</td>
  2710.       </tr>
  2711.       <tr>
  2712.         <td id="L532" class="blob-num js-line-number" data-line-number="532"></td>
  2713.         <td id="LC532" class="blob-code js-file-line">                  gint *sels_right = <span class="pl-c1">g_malloc</span>(selections * <span class="pl-k">sizeof</span>(gint));</td>
  2714.       </tr>
  2715.       <tr>
  2716.         <td id="L533" class="blob-num js-line-number" data-line-number="533"></td>
  2717.         <td id="LC533" class="blob-code js-file-line">                  gint caret = <span class="pl-c1">get_caret_pos</span>(sci, <span class="pl-c1">0</span>);</td>
  2718.       </tr>
  2719.       <tr>
  2720.         <td id="L534" class="blob-num js-line-number" data-line-number="534"></td>
  2721.         <td id="LC534" class="blob-code js-file-line">                  gint anchor = <span class="pl-c1">get_ancor_pos</span>(sci, <span class="pl-c1">0</span>);</td>
  2722.       </tr>
  2723.       <tr>
  2724.         <td id="L535" class="blob-num js-line-number" data-line-number="535"></td>
  2725.         <td id="LC535" class="blob-code js-file-line">                  gboolean caret_is_left = caret &lt; anchor;</td>
  2726.       </tr>
  2727.       <tr>
  2728.         <td id="L536" class="blob-num js-line-number" data-line-number="536"></td>
  2729.         <td id="LC536" class="blob-code js-file-line">                  gint pos_first = <span class="pl-c1">get_caret_pos</span>(sci, <span class="pl-c1">0</span>);</td>
  2730.       </tr>
  2731.       <tr>
  2732.         <td id="L537" class="blob-num js-line-number" data-line-number="537"></td>
  2733.         <td id="LC537" class="blob-code js-file-line">                  gint pos_second = <span class="pl-c1">get_caret_pos</span>(sci, <span class="pl-c1">1</span>);</td>
  2734.       </tr>
  2735.       <tr>
  2736.         <td id="L538" class="blob-num js-line-number" data-line-number="538"></td>
  2737.         <td id="LC538" class="blob-code js-file-line">                  gboolean selection_is_up_down = pos_first &lt; pos_second;</td>
  2738.       </tr>
  2739.       <tr>
  2740.         <td id="L539" class="blob-num js-line-number" data-line-number="539"></td>
  2741.         <td id="LC539" class="blob-code js-file-line">                  gint line;</td>
  2742.       </tr>
  2743.       <tr>
  2744.         <td id="L540" class="blob-num js-line-number" data-line-number="540"></td>
  2745.         <td id="LC540" class="blob-code js-file-line">                  <span class="pl-c">/* looks like a forward loop but actually lines processed in reverse order */</span></td>
  2746.       </tr>
  2747.       <tr>
  2748.         <td id="L541" class="blob-num js-line-number" data-line-number="541"></td>
  2749.         <td id="LC541" class="blob-code js-file-line">                  <span class="pl-k">for</span> (i = <span class="pl-c1">0</span>; i &lt; selections; i++)</td>
  2750.       </tr>
  2751.       <tr>
  2752.         <td id="L542" class="blob-num js-line-number" data-line-number="542"></td>
  2753.         <td id="LC542" class="blob-code js-file-line">                  {</td>
  2754.       </tr>
  2755.       <tr>
  2756.         <td id="L543" class="blob-num js-line-number" data-line-number="543"></td>
  2757.         <td id="LC543" class="blob-code js-file-line">                          <span class="pl-k">if</span> (selection_is_up_down)</td>
  2758.       </tr>
  2759.       <tr>
  2760.         <td id="L544" class="blob-num js-line-number" data-line-number="544"></td>
  2761.         <td id="LC544" class="blob-code js-file-line">                                  line = selections - i - <span class="pl-c1">1</span>;</td>
  2762.       </tr>
  2763.       <tr>
  2764.         <td id="L545" class="blob-num js-line-number" data-line-number="545"></td>
  2765.         <td id="LC545" class="blob-code js-file-line">                          <span class="pl-k">else</span></td>
  2766.       </tr>
  2767.       <tr>
  2768.         <td id="L546" class="blob-num js-line-number" data-line-number="546"></td>
  2769.         <td id="LC546" class="blob-code js-file-line">                                  line = i;</td>
  2770.       </tr>
  2771.       <tr>
  2772.         <td id="L547" class="blob-num js-line-number" data-line-number="547"></td>
  2773.         <td id="LC547" class="blob-code js-file-line">                          <span class="pl-k">if</span> (caret_is_left)</td>
  2774.       </tr>
  2775.       <tr>
  2776.         <td id="L548" class="blob-num js-line-number" data-line-number="548"></td>
  2777.         <td id="LC548" class="blob-code js-file-line">                          {</td>
  2778.       </tr>
  2779.       <tr>
  2780.         <td id="L549" class="blob-num js-line-number" data-line-number="549"></td>
  2781.         <td id="LC549" class="blob-code js-file-line">                                  sels_left[i]  = <span class="pl-c1">get_caret_pos</span>(sci, line);</td>
  2782.       </tr>
  2783.       <tr>
  2784.         <td id="L550" class="blob-num js-line-number" data-line-number="550"></td>
  2785.         <td id="LC550" class="blob-code js-file-line">                                  sels_right[i] = <span class="pl-c1">get_ancor_pos</span>(sci, line) + <span class="pl-c1">1</span>;</td>
  2786.       </tr>
  2787.       <tr>
  2788.         <td id="L551" class="blob-num js-line-number" data-line-number="551"></td>
  2789.         <td id="LC551" class="blob-code js-file-line">                          }</td>
  2790.       </tr>
  2791.       <tr>
  2792.         <td id="L552" class="blob-num js-line-number" data-line-number="552"></td>
  2793.         <td id="LC552" class="blob-code js-file-line">                          <span class="pl-k">else</span></td>
  2794.       </tr>
  2795.       <tr>
  2796.         <td id="L553" class="blob-num js-line-number" data-line-number="553"></td>
  2797.         <td id="LC553" class="blob-code js-file-line">                          {</td>
  2798.       </tr>
  2799.       <tr>
  2800.         <td id="L554" class="blob-num js-line-number" data-line-number="554"></td>
  2801.         <td id="LC554" class="blob-code js-file-line">                                  sels_right[i] = <span class="pl-c1">get_caret_pos</span>(sci, line) + <span class="pl-c1">1</span>;</td>
  2802.       </tr>
  2803.       <tr>
  2804.         <td id="L555" class="blob-num js-line-number" data-line-number="555"></td>
  2805.         <td id="LC555" class="blob-code js-file-line">                                  sels_left[i]  = <span class="pl-c1">get_ancor_pos</span>(sci, line);</td>
  2806.       </tr>
  2807.       <tr>
  2808.         <td id="L556" class="blob-num js-line-number" data-line-number="556"></td>
  2809.         <td id="LC556" class="blob-code js-file-line">                          }</td>
  2810.       </tr>
  2811.       <tr>
  2812.         <td id="L557" class="blob-num js-line-number" data-line-number="557"></td>
  2813.         <td id="LC557" class="blob-code js-file-line">                  }</td>
  2814.       </tr>
  2815.       <tr>
  2816.         <td id="L558" class="blob-num js-line-number" data-line-number="558"></td>
  2817.         <td id="LC558" class="blob-code js-file-line">                  <span class="pl-k">for</span> (i = <span class="pl-c1">0</span>; i &lt; selections; i++)</td>
  2818.       </tr>
  2819.       <tr>
  2820.         <td id="L559" class="blob-num js-line-number" data-line-number="559"></td>
  2821.         <td id="LC559" class="blob-code js-file-line">                  {</td>
  2822.       </tr>
  2823.       <tr>
  2824.         <td id="L560" class="blob-num js-line-number" data-line-number="560"></td>
  2825.         <td id="LC560" class="blob-code js-file-line">                          <span class="pl-c1">insert_text</span>(sci, sels_left[i],  chars_left);</td>
  2826.       </tr>
  2827.       <tr>
  2828.         <td id="L561" class="blob-num js-line-number" data-line-number="561"></td>
  2829.         <td id="LC561" class="blob-code js-file-line">                          <span class="pl-c1">insert_text</span>(sci, sels_right[i], chars_right);</td>
  2830.       </tr>
  2831.       <tr>
  2832.         <td id="L562" class="blob-num js-line-number" data-line-number="562"></td>
  2833.         <td id="LC562" class="blob-code js-file-line">                          sels_left[i]  += (selections - i - <span class="pl-c1">1</span>) * <span class="pl-c1">2</span> + <span class="pl-c1">1</span>;</td>
  2834.       </tr>
  2835.       <tr>
  2836.         <td id="L563" class="blob-num js-line-number" data-line-number="563"></td>
  2837.         <td id="LC563" class="blob-code js-file-line">                          sels_right[i] += (selections - i - <span class="pl-c1">1</span>) * <span class="pl-c1">2</span> + <span class="pl-c1">1</span>;</td>
  2838.       </tr>
  2839.       <tr>
  2840.         <td id="L564" class="blob-num js-line-number" data-line-number="564"></td>
  2841.         <td id="LC564" class="blob-code js-file-line">                  }</td>
  2842.       </tr>
  2843.       <tr>
  2844.         <td id="L565" class="blob-num js-line-number" data-line-number="565"></td>
  2845.         <td id="LC565" class="blob-code js-file-line">                  <span class="pl-k">if</span> (ac_info-&gt;keep_selection)</td>
  2846.       </tr>
  2847.       <tr>
  2848.         <td id="L566" class="blob-num js-line-number" data-line-number="566"></td>
  2849.         <td id="LC566" class="blob-code js-file-line">                  {</td>
  2850.       </tr>
  2851.       <tr>
  2852.         <td id="L567" class="blob-num js-line-number" data-line-number="567"></td>
  2853.         <td id="LC567" class="blob-code js-file-line">                          i = <span class="pl-c1">0</span>;</td>
  2854.       </tr>
  2855.       <tr>
  2856.         <td id="L568" class="blob-num js-line-number" data-line-number="568"></td>
  2857.         <td id="LC568" class="blob-code js-file-line">                          <span class="pl-c1">SSM</span>(sci, SCI_SETSELECTION, sels_left[i], sels_right[i] - <span class="pl-c1">1</span>);</td>
  2858.       </tr>
  2859.       <tr>
  2860.         <td id="L569" class="blob-num js-line-number" data-line-number="569"></td>
  2861.         <td id="LC569" class="blob-code js-file-line">                          <span class="pl-k">for</span> (i = <span class="pl-c1">1</span>; i &lt; selections; i++)</td>
  2862.       </tr>
  2863.       <tr>
  2864.         <td id="L570" class="blob-num js-line-number" data-line-number="570"></td>
  2865.         <td id="LC570" class="blob-code js-file-line">                                  <span class="pl-c1">SSM</span>(sci, SCI_ADDSELECTION, sels_left[i], sels_right[i] - <span class="pl-c1">1</span>);</td>
  2866.       </tr>
  2867.       <tr>
  2868.         <td id="L571" class="blob-num js-line-number" data-line-number="571"></td>
  2869.         <td id="LC571" class="blob-code js-file-line">                  }</td>
  2870.       </tr>
  2871.       <tr>
  2872.         <td id="L572" class="blob-num js-line-number" data-line-number="572"></td>
  2873.         <td id="LC572" class="blob-code js-file-line">                  <span class="pl-c1">g_free</span>(sels_left);</td>
  2874.       </tr>
  2875.       <tr>
  2876.         <td id="L573" class="blob-num js-line-number" data-line-number="573"></td>
  2877.         <td id="LC573" class="blob-code js-file-line">                  <span class="pl-c1">g_free</span>(sels_right);</td>
  2878.       </tr>
  2879.       <tr>
  2880.         <td id="L574" class="blob-num js-line-number" data-line-number="574"></td>
  2881.         <td id="LC574" class="blob-code js-file-line">          }</td>
  2882.       </tr>
  2883.       <tr>
  2884.         <td id="L575" class="blob-num js-line-number" data-line-number="575"></td>
  2885.         <td id="LC575" class="blob-code js-file-line">          <span class="pl-k">else</span> <span class="pl-c">/* normal selection */</span></td>
  2886.       </tr>
  2887.       <tr>
  2888.         <td id="L576" class="blob-num js-line-number" data-line-number="576"></td>
  2889.         <td id="LC576" class="blob-code js-file-line">          {</td>
  2890.       </tr>
  2891.       <tr>
  2892.         <td id="L577" class="blob-num js-line-number" data-line-number="577"></td>
  2893.         <td id="LC577" class="blob-code js-file-line">                  <span class="pl-c1">insert_text</span>(sci, start, chars_left);</td>
  2894.       </tr>
  2895.       <tr>
  2896.         <td id="L578" class="blob-num js-line-number" data-line-number="578"></td>
  2897.         <td id="LC578" class="blob-code js-file-line">                  <span class="pl-c1">insert_text</span>(sci, end + <span class="pl-c1">1</span>, chars_right);</td>
  2898.       </tr>
  2899.       <tr>
  2900.         <td id="L579" class="blob-num js-line-number" data-line-number="579"></td>
  2901.         <td id="LC579" class="blob-code js-file-line">                  <span class="pl-c1">sci_set_current_position</span>(sci, end + <span class="pl-c1">1</span>, <span class="pl-c1">TRUE</span>);</td>
  2902.       </tr>
  2903.       <tr>
  2904.         <td id="L580" class="blob-num js-line-number" data-line-number="580"></td>
  2905.         <td id="LC580" class="blob-code js-file-line">                  data-&gt;jump_on_tab += <span class="pl-c1">strlen</span>(chars_right);</td>
  2906.       </tr>
  2907.       <tr>
  2908.         <td id="L581" class="blob-num js-line-number" data-line-number="581"></td>
  2909.         <td id="LC581" class="blob-code js-file-line">                  data-&gt;last_caret = end + <span class="pl-c1">1</span>;</td>
  2910.       </tr>
  2911.       <tr>
  2912.         <td id="L582" class="blob-num js-line-number" data-line-number="582"></td>
  2913.         <td id="LC582" class="blob-code js-file-line">                  data-&gt;last_line = <span class="pl-c1">sci_get_current_line</span>(sci);</td>
  2914.       </tr>
  2915.       <tr>
  2916.         <td id="L583" class="blob-num js-line-number" data-line-number="583"></td>
  2917.         <td id="LC583" class="blob-code js-file-line">                  <span class="pl-k">if</span> (ac_info-&gt;keep_selection)</td>
  2918.       </tr>
  2919.       <tr>
  2920.         <td id="L584" class="blob-num js-line-number" data-line-number="584"></td>
  2921.         <td id="LC584" class="blob-code js-file-line">                  {</td>
  2922.       </tr>
  2923.       <tr>
  2924.         <td id="L585" class="blob-num js-line-number" data-line-number="585"></td>
  2925.         <td id="LC585" class="blob-code js-file-line">                          <span class="pl-c1">sci_set_selection_start</span>(sci, start + <span class="pl-c1">1</span>);</td>
  2926.       </tr>
  2927.       <tr>
  2928.         <td id="L586" class="blob-num js-line-number" data-line-number="586"></td>
  2929.         <td id="LC586" class="blob-code js-file-line">                          <span class="pl-c1">sci_set_selection_end</span>(sci, end + <span class="pl-c1">1</span>);</td>
  2930.       </tr>
  2931.       <tr>
  2932.         <td id="L587" class="blob-num js-line-number" data-line-number="587"></td>
  2933.         <td id="LC587" class="blob-code js-file-line">                  }</td>
  2934.       </tr>
  2935.       <tr>
  2936.         <td id="L588" class="blob-num js-line-number" data-line-number="588"></td>
  2937.         <td id="LC588" class="blob-code js-file-line">          }</td>
  2938.       </tr>
  2939.       <tr>
  2940.         <td id="L589" class="blob-num js-line-number" data-line-number="589"></td>
  2941.         <td id="LC589" class="blob-code js-file-line">  }</td>
  2942.       </tr>
  2943.       <tr>
  2944.         <td id="L590" class="blob-num js-line-number" data-line-number="590"></td>
  2945.         <td id="LC590" class="blob-code js-file-line">  <span class="pl-c1">sci_end_undo_action</span>(sci);</td>
  2946.       </tr>
  2947.       <tr>
  2948.         <td id="L591" class="blob-num js-line-number" data-line-number="591"></td>
  2949.         <td id="LC591" class="blob-code js-file-line">  <span class="pl-k">return</span> AC_STOP_ACTION;</td>
  2950.       </tr>
  2951.       <tr>
  2952.         <td id="L592" class="blob-num js-line-number" data-line-number="592"></td>
  2953.         <td id="LC592" class="blob-code js-file-line">}</td>
  2954.       </tr>
  2955.       <tr>
  2956.         <td id="L593" class="blob-num js-line-number" data-line-number="593"></td>
  2957.         <td id="LC593" class="blob-code js-file-line">
  2958. </td>
  2959.       </tr>
  2960.       <tr>
  2961.         <td id="L594" class="blob-num js-line-number" data-line-number="594"></td>
  2962.         <td id="LC594" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  2963.       </tr>
  2964.       <tr>
  2965.         <td id="L595" class="blob-num js-line-number" data-line-number="595"></td>
  2966.         <td id="LC595" class="blob-code js-file-line"><span class="pl-en">check_struct</span>(</td>
  2967.       </tr>
  2968.       <tr>
  2969.         <td id="L596" class="blob-num js-line-number" data-line-number="596"></td>
  2970.         <td id="LC596" class="blob-code js-file-line">  ScintillaObject *sci,</td>
  2971.       </tr>
  2972.       <tr>
  2973.         <td id="L597" class="blob-num js-line-number" data-line-number="597"></td>
  2974.         <td id="LC597" class="blob-code js-file-line">  gint             pos,</td>
  2975.       </tr>
  2976.       <tr>
  2977.         <td id="L598" class="blob-num js-line-number" data-line-number="598"></td>
  2978.         <td id="LC598" class="blob-code js-file-line">  <span class="pl-k">const</span> gchar     *str)</td>
  2979.       </tr>
  2980.       <tr>
  2981.         <td id="L599" class="blob-num js-line-number" data-line-number="599"></td>
  2982.         <td id="LC599" class="blob-code js-file-line">{</td>
  2983.       </tr>
  2984.       <tr>
  2985.         <td id="L600" class="blob-num js-line-number" data-line-number="600"></td>
  2986.         <td id="LC600" class="blob-code js-file-line">  gchar ch;</td>
  2987.       </tr>
  2988.       <tr>
  2989.         <td id="L601" class="blob-num js-line-number" data-line-number="601"></td>
  2990.         <td id="LC601" class="blob-code js-file-line">  gint line, len;</td>
  2991.       </tr>
  2992.       <tr>
  2993.         <td id="L602" class="blob-num js-line-number" data-line-number="602"></td>
  2994.         <td id="LC602" class="blob-code js-file-line">  ch = <span class="pl-c1">char_at</span>(sci, pos - <span class="pl-c1">1</span>);</td>
  2995.       </tr>
  2996.       <tr>
  2997.         <td id="L603" class="blob-num js-line-number" data-line-number="603"></td>
  2998.         <td id="LC603" class="blob-code js-file-line">  <span class="pl-k">while</span> (<span class="pl-c1">g_ascii_isspace</span>(ch))</td>
  2999.       </tr>
  3000.       <tr>
  3001.         <td id="L604" class="blob-num js-line-number" data-line-number="604"></td>
  3002.         <td id="LC604" class="blob-code js-file-line">  {</td>
  3003.       </tr>
  3004.       <tr>
  3005.         <td id="L605" class="blob-num js-line-number" data-line-number="605"></td>
  3006.         <td id="LC605" class="blob-code js-file-line">          pos--;</td>
  3007.       </tr>
  3008.       <tr>
  3009.         <td id="L606" class="blob-num js-line-number" data-line-number="606"></td>
  3010.         <td id="LC606" class="blob-code js-file-line">          ch = <span class="pl-c1">char_at</span>(sci, pos - <span class="pl-c1">1</span>);</td>
  3011.       </tr>
  3012.       <tr>
  3013.         <td id="L607" class="blob-num js-line-number" data-line-number="607"></td>
  3014.         <td id="LC607" class="blob-code js-file-line">  }</td>
  3015.       </tr>
  3016.       <tr>
  3017.         <td id="L608" class="blob-num js-line-number" data-line-number="608"></td>
  3018.         <td id="LC608" class="blob-code js-file-line">  line = <span class="pl-c1">sci_get_line_from_position</span>(sci, pos);</td>
  3019.       </tr>
  3020.       <tr>
  3021.         <td id="L609" class="blob-num js-line-number" data-line-number="609"></td>
  3022.         <td id="LC609" class="blob-code js-file-line">  len = <span class="pl-c1">strlen</span>(str);</td>
  3023.       </tr>
  3024.       <tr>
  3025.         <td id="L610" class="blob-num js-line-number" data-line-number="610"></td>
  3026.         <td id="LC610" class="blob-code js-file-line">  <span class="pl-k">const</span> gchar *sci_buf = <span class="pl-c1">get_char_range</span>(sci, <span class="pl-c1">get_indent</span>(sci, line), len);</td>
  3027.       </tr>
  3028.       <tr>
  3029.         <td id="L611" class="blob-num js-line-number" data-line-number="611"></td>
  3030.         <td id="LC611" class="blob-code js-file-line">  <span class="pl-c1">g_return_val_if_fail</span>(sci_buf, <span class="pl-c1">FALSE</span>);</td>
  3031.       </tr>
  3032.       <tr>
  3033.         <td id="L612" class="blob-num js-line-number" data-line-number="612"></td>
  3034.         <td id="LC612" class="blob-code js-file-line">  <span class="pl-k">if</span> (<span class="pl-c1">strncmp</span>(sci_buf, str, len) == <span class="pl-c1">0</span>)</td>
  3035.       </tr>
  3036.       <tr>
  3037.         <td id="L613" class="blob-num js-line-number" data-line-number="613"></td>
  3038.         <td id="LC613" class="blob-code js-file-line">          <span class="pl-k">return</span> <span class="pl-c1">TRUE</span>;</td>
  3039.       </tr>
  3040.       <tr>
  3041.         <td id="L614" class="blob-num js-line-number" data-line-number="614"></td>
  3042.         <td id="LC614" class="blob-code js-file-line">  <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  3043.       </tr>
  3044.       <tr>
  3045.         <td id="L615" class="blob-num js-line-number" data-line-number="615"></td>
  3046.         <td id="LC615" class="blob-code js-file-line">}</td>
  3047.       </tr>
  3048.       <tr>
  3049.         <td id="L616" class="blob-num js-line-number" data-line-number="616"></td>
  3050.         <td id="LC616" class="blob-code js-file-line">
  3051. </td>
  3052.       </tr>
  3053.       <tr>
  3054.         <td id="L617" class="blob-num js-line-number" data-line-number="617"></td>
  3055.         <td id="LC617" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  3056.       </tr>
  3057.       <tr>
  3058.         <td id="L618" class="blob-num js-line-number" data-line-number="618"></td>
  3059.         <td id="LC618" class="blob-code js-file-line"><span class="pl-en">struct_semicolon</span>(</td>
  3060.       </tr>
  3061.       <tr>
  3062.         <td id="L619" class="blob-num js-line-number" data-line-number="619"></td>
  3063.         <td id="LC619" class="blob-code js-file-line">  ScintillaObject *sci,</td>
  3064.       </tr>
  3065.       <tr>
  3066.         <td id="L620" class="blob-num js-line-number" data-line-number="620"></td>
  3067.         <td id="LC620" class="blob-code js-file-line">  gint             pos,</td>
  3068.       </tr>
  3069.       <tr>
  3070.         <td id="L621" class="blob-num js-line-number" data-line-number="621"></td>
  3071.         <td id="LC621" class="blob-code js-file-line">  gchar           *chars_right,</td>
  3072.       </tr>
  3073.       <tr>
  3074.         <td id="L622" class="blob-num js-line-number" data-line-number="622"></td>
  3075.         <td id="LC622" class="blob-code js-file-line">  gint             filetype)</td>
  3076.       </tr>
  3077.       <tr>
  3078.         <td id="L623" class="blob-num js-line-number" data-line-number="623"></td>
  3079.         <td id="LC623" class="blob-code js-file-line">{</td>
  3080.       </tr>
  3081.       <tr>
  3082.         <td id="L624" class="blob-num js-line-number" data-line-number="624"></td>
  3083.         <td id="LC624" class="blob-code js-file-line">  <span class="pl-k">if</span> (<span class="pl-c1">filetype_c_or_cpp</span>(filetype) &amp;&amp;</td>
  3084.       </tr>
  3085.       <tr>
  3086.         <td id="L625" class="blob-num js-line-number" data-line-number="625"></td>
  3087.         <td id="LC625" class="blob-code js-file-line">     (<span class="pl-c1">check_struct</span>(sci, pos, <span class="pl-s"><span class="pl-pds">&quot;</span>struct<span class="pl-pds">&quot;</span></span>) || <span class="pl-c1">check_struct</span>(sci, pos, <span class="pl-s"><span class="pl-pds">&quot;</span>typedef struct<span class="pl-pds">&quot;</span></span>)))</td>
  3088.       </tr>
  3089.       <tr>
  3090.         <td id="L626" class="blob-num js-line-number" data-line-number="626"></td>
  3091.         <td id="LC626" class="blob-code js-file-line">  {</td>
  3092.       </tr>
  3093.       <tr>
  3094.         <td id="L627" class="blob-num js-line-number" data-line-number="627"></td>
  3095.         <td id="LC627" class="blob-code js-file-line">          chars_right[<span class="pl-c1">1</span>] = <span class="pl-s"><span class="pl-pds">&#39;</span>;<span class="pl-pds">&#39;</span></span>;</td>
  3096.       </tr>
  3097.       <tr>
  3098.         <td id="L628" class="blob-num js-line-number" data-line-number="628"></td>
  3099.         <td id="LC628" class="blob-code js-file-line">          <span class="pl-k">return</span>;</td>
  3100.       </tr>
  3101.       <tr>
  3102.         <td id="L629" class="blob-num js-line-number" data-line-number="629"></td>
  3103.         <td id="LC629" class="blob-code js-file-line">  }</td>
  3104.       </tr>
  3105.       <tr>
  3106.         <td id="L630" class="blob-num js-line-number" data-line-number="630"></td>
  3107.         <td id="LC630" class="blob-code js-file-line">  <span class="pl-k">if</span> (<span class="pl-c1">filetype_cpp</span>(filetype) &amp;&amp; <span class="pl-c1">check_struct</span>(sci, pos, <span class="pl-s"><span class="pl-pds">&quot;</span>class<span class="pl-pds">&quot;</span></span>))</td>
  3108.       </tr>
  3109.       <tr>
  3110.         <td id="L631" class="blob-num js-line-number" data-line-number="631"></td>
  3111.         <td id="LC631" class="blob-code js-file-line">  {</td>
  3112.       </tr>
  3113.       <tr>
  3114.         <td id="L632" class="blob-num js-line-number" data-line-number="632"></td>
  3115.         <td id="LC632" class="blob-code js-file-line">          chars_right[<span class="pl-c1">1</span>] = <span class="pl-s"><span class="pl-pds">&#39;</span>;<span class="pl-pds">&#39;</span></span>;</td>
  3116.       </tr>
  3117.       <tr>
  3118.         <td id="L633" class="blob-num js-line-number" data-line-number="633"></td>
  3119.         <td id="LC633" class="blob-code js-file-line">          <span class="pl-k">return</span>;</td>
  3120.       </tr>
  3121.       <tr>
  3122.         <td id="L634" class="blob-num js-line-number" data-line-number="634"></td>
  3123.         <td id="LC634" class="blob-code js-file-line">  }</td>
  3124.       </tr>
  3125.       <tr>
  3126.         <td id="L635" class="blob-num js-line-number" data-line-number="635"></td>
  3127.         <td id="LC635" class="blob-code js-file-line">}</td>
  3128.       </tr>
  3129.       <tr>
  3130.         <td id="L636" class="blob-num js-line-number" data-line-number="636"></td>
  3131.         <td id="LC636" class="blob-code js-file-line">
  3132. </td>
  3133.       </tr>
  3134.       <tr>
  3135.         <td id="L637" class="blob-num js-line-number" data-line-number="637"></td>
  3136.         <td id="LC637" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  3137.       </tr>
  3138.       <tr>
  3139.         <td id="L638" class="blob-num js-line-number" data-line-number="638"></td>
  3140.         <td id="LC638" class="blob-code js-file-line"><span class="pl-en">check_define</span>(</td>
  3141.       </tr>
  3142.       <tr>
  3143.         <td id="L639" class="blob-num js-line-number" data-line-number="639"></td>
  3144.         <td id="LC639" class="blob-code js-file-line">  ScintillaObject *sci,</td>
  3145.       </tr>
  3146.       <tr>
  3147.         <td id="L640" class="blob-num js-line-number" data-line-number="640"></td>
  3148.         <td id="LC640" class="blob-code js-file-line">  gint             line)</td>
  3149.       </tr>
  3150.       <tr>
  3151.         <td id="L641" class="blob-num js-line-number" data-line-number="641"></td>
  3152.         <td id="LC641" class="blob-code js-file-line">{</td>
  3153.       </tr>
  3154.       <tr>
  3155.         <td id="L642" class="blob-num js-line-number" data-line-number="642"></td>
  3156.         <td id="LC642" class="blob-code js-file-line">  <span class="pl-k">const</span> gchar* sci_buf = <span class="pl-c1">get_char_range</span>(sci, <span class="pl-c1">get_indent</span>(sci, line), <span class="pl-c1">7</span>);</td>
  3157.       </tr>
  3158.       <tr>
  3159.         <td id="L643" class="blob-num js-line-number" data-line-number="643"></td>
  3160.         <td id="LC643" class="blob-code js-file-line">  <span class="pl-c1">g_return_val_if_fail</span>(sci_buf, <span class="pl-c1">FALSE</span>);</td>
  3161.       </tr>
  3162.       <tr>
  3163.         <td id="L644" class="blob-num js-line-number" data-line-number="644"></td>
  3164.         <td id="LC644" class="blob-code js-file-line">  <span class="pl-k">if</span> (<span class="pl-c1">strncmp</span>(sci_buf, <span class="pl-s"><span class="pl-pds">&quot;</span>#define<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">7</span>) == <span class="pl-c1">0</span>)</td>
  3165.       </tr>
  3166.       <tr>
  3167.         <td id="L645" class="blob-num js-line-number" data-line-number="645"></td>
  3168.         <td id="LC645" class="blob-code js-file-line">          <span class="pl-k">return</span> <span class="pl-c1">TRUE</span>;</td>
  3169.       </tr>
  3170.       <tr>
  3171.         <td id="L646" class="blob-num js-line-number" data-line-number="646"></td>
  3172.         <td id="LC646" class="blob-code js-file-line">  <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;</td>
  3173.       </tr>
  3174.       <tr>
  3175.         <td id="L647" class="blob-num js-line-number" data-line-number="647"></td>
  3176.         <td id="LC647" class="blob-code js-file-line">}</td>
  3177.       </tr>
  3178.       <tr>
  3179.         <td id="L648" class="blob-num js-line-number" data-line-number="648"></td>
  3180.         <td id="LC648" class="blob-code js-file-line">
  3181. </td>
  3182.       </tr>
  3183.       <tr>
  3184.         <td id="L649" class="blob-num js-line-number" data-line-number="649"></td>
  3185.         <td id="LC649" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  3186.       </tr>
  3187.       <tr>
  3188.         <td id="L650" class="blob-num js-line-number" data-line-number="650"></td>
  3189.         <td id="LC650" class="blob-code js-file-line"><span class="pl-en">auto_close_chars</span>(</td>
  3190.       </tr>
  3191.       <tr>
  3192.         <td id="L651" class="blob-num js-line-number" data-line-number="651"></td>
  3193.         <td id="LC651" class="blob-code js-file-line">  AutocloseUserData *data,</td>
  3194.       </tr>
  3195.       <tr>
  3196.         <td id="L652" class="blob-num js-line-number" data-line-number="652"></td>
  3197.         <td id="LC652" class="blob-code js-file-line">  GdkEventKey       *event)</td>
  3198.       </tr>
  3199.       <tr>
  3200.         <td id="L653" class="blob-num js-line-number" data-line-number="653"></td>
  3201.         <td id="LC653" class="blob-code js-file-line">{</td>
  3202.       </tr>
  3203.       <tr>
  3204.         <td id="L654" class="blob-num js-line-number" data-line-number="654"></td>
  3205.         <td id="LC654" class="blob-code js-file-line">  ScintillaObject *sci;</td>
  3206.       </tr>
  3207.       <tr>
  3208.         <td id="L655" class="blob-num js-line-number" data-line-number="655"></td>
  3209.         <td id="LC655" class="blob-code js-file-line">  GeanyEditor     *editor;</td>
  3210.       </tr>
  3211.       <tr>
  3212.         <td id="L656" class="blob-num js-line-number" data-line-number="656"></td>
  3213.         <td id="LC656" class="blob-code js-file-line">  GeanyDocument   *doc;</td>
  3214.       </tr>
  3215.       <tr>
  3216.         <td id="L657" class="blob-num js-line-number" data-line-number="657"></td>
  3217.         <td id="LC657" class="blob-code js-file-line">  gint             ch, ch_next, ch_buf;</td>
  3218.       </tr>
  3219.       <tr>
  3220.         <td id="L658" class="blob-num js-line-number" data-line-number="658"></td>
  3221.         <td id="LC658" class="blob-code js-file-line">  gchar            chars_left[<span class="pl-c1">2</span>]  = {<span class="pl-c1">0</span>, <span class="pl-c1">0</span>};</td>
  3222.       </tr>
  3223.       <tr>
  3224.         <td id="L659" class="blob-num js-line-number" data-line-number="659"></td>
  3225.         <td id="LC659" class="blob-code js-file-line">  gchar            chars_right[<span class="pl-c1">3</span>] = {<span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>};</td>
  3226.       </tr>
  3227.       <tr>
  3228.         <td id="L660" class="blob-num js-line-number" data-line-number="660"></td>
  3229.         <td id="LC660" class="blob-code js-file-line">  gint             lexer, style;</td>
  3230.       </tr>
  3231.       <tr>
  3232.         <td id="L661" class="blob-num js-line-number" data-line-number="661"></td>
  3233.         <td id="LC661" class="blob-code js-file-line">  gint             pos, line, lex_offset;</td>
  3234.       </tr>
  3235.       <tr>
  3236.         <td id="L662" class="blob-num js-line-number" data-line-number="662"></td>
  3237.         <td id="LC662" class="blob-code js-file-line">  gboolean         has_sel;</td>
  3238.       </tr>
  3239.       <tr>
  3240.         <td id="L663" class="blob-num js-line-number" data-line-number="663"></td>
  3241.         <td id="LC663" class="blob-code js-file-line">  gint             filetype = <span class="pl-c1">0</span>;</td>
  3242.       </tr>
  3243.       <tr>
  3244.         <td id="L664" class="blob-num js-line-number" data-line-number="664"></td>
  3245.         <td id="LC664" class="blob-code js-file-line">
  3246. </td>
  3247.       </tr>
  3248.       <tr>
  3249.         <td id="L665" class="blob-num js-line-number" data-line-number="665"></td>
  3250.         <td id="LC665" class="blob-code js-file-line">  <span class="pl-c1">g_return_val_if_fail</span>(data, AC_CONTINUE_ACTION);</td>
  3251.       </tr>
  3252.       <tr>
  3253.         <td id="L666" class="blob-num js-line-number" data-line-number="666"></td>
  3254.         <td id="LC666" class="blob-code js-file-line">  doc = data-&gt;doc;</td>
  3255.       </tr>
  3256.       <tr>
  3257.         <td id="L667" class="blob-num js-line-number" data-line-number="667"></td>
  3258.         <td id="LC667" class="blob-code js-file-line">  <span class="pl-c1">g_return_val_if_fail</span>(<span class="pl-c1">DOC_VALID</span>(doc), AC_CONTINUE_ACTION);</td>
  3259.       </tr>
  3260.       <tr>
  3261.         <td id="L668" class="blob-num js-line-number" data-line-number="668"></td>
  3262.         <td id="LC668" class="blob-code js-file-line">  editor = doc-&gt;editor;</td>
  3263.       </tr>
  3264.       <tr>
  3265.         <td id="L669" class="blob-num js-line-number" data-line-number="669"></td>
  3266.         <td id="LC669" class="blob-code js-file-line">  <span class="pl-c1">g_return_val_if_fail</span>(editor, AC_CONTINUE_ACTION);</td>
  3267.       </tr>
  3268.       <tr>
  3269.         <td id="L670" class="blob-num js-line-number" data-line-number="670"></td>
  3270.         <td id="LC670" class="blob-code js-file-line">  sci = editor-&gt;sci;</td>
  3271.       </tr>
  3272.       <tr>
  3273.         <td id="L671" class="blob-num js-line-number" data-line-number="671"></td>
  3274.         <td id="LC671" class="blob-code js-file-line">  <span class="pl-c1">g_return_val_if_fail</span>(sci, AC_CONTINUE_ACTION);</td>
  3275.       </tr>
  3276.       <tr>
  3277.         <td id="L672" class="blob-num js-line-number" data-line-number="672"></td>
  3278.         <td id="LC672" class="blob-code js-file-line">
  3279. </td>
  3280.       </tr>
  3281.       <tr>
  3282.         <td id="L673" class="blob-num js-line-number" data-line-number="673"></td>
  3283.         <td id="LC673" class="blob-code js-file-line">  <span class="pl-k">if</span> (doc-&gt;file_type)</td>
  3284.       </tr>
  3285.       <tr>
  3286.         <td id="L674" class="blob-num js-line-number" data-line-number="674"></td>
  3287.         <td id="LC674" class="blob-code js-file-line">          filetype = doc-&gt;file_type-&gt;id;</td>
  3288.       </tr>
  3289.       <tr>
  3290.         <td id="L675" class="blob-num js-line-number" data-line-number="675"></td>
  3291.         <td id="LC675" class="blob-code js-file-line">
  3292. </td>
  3293.       </tr>
  3294.       <tr>
  3295.         <td id="L676" class="blob-num js-line-number" data-line-number="676"></td>
  3296.         <td id="LC676" class="blob-code js-file-line">  pos = <span class="pl-c1">sci_get_current_position</span>(sci);</td>
  3297.       </tr>
  3298.       <tr>
  3299.         <td id="L677" class="blob-num js-line-number" data-line-number="677"></td>
  3300.         <td id="LC677" class="blob-code js-file-line">  line = <span class="pl-c1">sci_get_current_line</span>(sci);</td>
  3301.       </tr>
  3302.       <tr>
  3303.         <td id="L678" class="blob-num js-line-number" data-line-number="678"></td>
  3304.         <td id="LC678" class="blob-code js-file-line">  ch = event-&gt;keyval;</td>
  3305.       </tr>
  3306.       <tr>
  3307.         <td id="L679" class="blob-num js-line-number" data-line-number="679"></td>
  3308.         <td id="LC679" class="blob-code js-file-line">
  3309. </td>
  3310.       </tr>
  3311.       <tr>
  3312.         <td id="L680" class="blob-num js-line-number" data-line-number="680"></td>
  3313.         <td id="LC680" class="blob-code js-file-line">  <span class="pl-k">if</span> (ch == GDK_BackSpace)</td>
  3314.       </tr>
  3315.       <tr>
  3316.         <td id="L681" class="blob-num js-line-number" data-line-number="681"></td>
  3317.         <td id="LC681" class="blob-code js-file-line">  {</td>
  3318.       </tr>
  3319.       <tr>
  3320.         <td id="L682" class="blob-num js-line-number" data-line-number="682"></td>
  3321.         <td id="LC682" class="blob-code js-file-line">          <span class="pl-k">return</span> <span class="pl-c1">handle_backspace</span>(data, sci, ch, chars_left, chars_right,</td>
  3322.       </tr>
  3323.       <tr>
  3324.         <td id="L683" class="blob-num js-line-number" data-line-number="683"></td>
  3325.         <td id="LC683" class="blob-code js-file-line">                                  event, <span class="pl-c1">editor_get_indent_prefs</span>(editor)-&gt;width);</td>
  3326.       </tr>
  3327.       <tr>
  3328.         <td id="L684" class="blob-num js-line-number" data-line-number="684"></td>
  3329.         <td id="LC684" class="blob-code js-file-line">  }</td>
  3330.       </tr>
  3331.       <tr>
  3332.         <td id="L685" class="blob-num js-line-number" data-line-number="685"></td>
  3333.         <td id="LC685" class="blob-code js-file-line">  <span class="pl-k">else</span> <span class="pl-k">if</span> (ch == GDK_Return)</td>
  3334.       </tr>
  3335.       <tr>
  3336.         <td id="L686" class="blob-num js-line-number" data-line-number="686"></td>
  3337.         <td id="LC686" class="blob-code js-file-line">  {</td>
  3338.       </tr>
  3339.       <tr>
  3340.         <td id="L687" class="blob-num js-line-number" data-line-number="687"></td>
  3341.         <td id="LC687" class="blob-code js-file-line">          <span class="pl-k">return</span> <span class="pl-c1">improve_indent</span>(sci, editor, pos);</td>
  3342.       </tr>
  3343.       <tr>
  3344.         <td id="L688" class="blob-num js-line-number" data-line-number="688"></td>
  3345.         <td id="LC688" class="blob-code js-file-line">  }</td>
  3346.       </tr>
  3347.       <tr>
  3348.         <td id="L689" class="blob-num js-line-number" data-line-number="689"></td>
  3349.         <td id="LC689" class="blob-code js-file-line">  <span class="pl-k">else</span> <span class="pl-k">if</span> (ch == GDK_Tab &amp;&amp; ac_info-&gt;jump_on_tab)</td>
  3350.       </tr>
  3351.       <tr>
  3352.         <td id="L690" class="blob-num js-line-number" data-line-number="690"></td>
  3353.         <td id="LC690" class="blob-code js-file-line">  {</td>
  3354.       </tr>
  3355.       <tr>
  3356.         <td id="L691" class="blob-num js-line-number" data-line-number="691"></td>
  3357.         <td id="LC691" class="blob-code js-file-line">          <span class="pl-c">/* jump behind inserted &quot;); */</span></td>
  3358.       </tr>
  3359.       <tr>
  3360.         <td id="L692" class="blob-num js-line-number" data-line-number="692"></td>
  3361.         <td id="LC692" class="blob-code js-file-line">          <span class="pl-k">if</span> (data-&gt;jump_on_tab == <span class="pl-c1">0</span>)</td>
  3362.       </tr>
  3363.       <tr>
  3364.         <td id="L693" class="blob-num js-line-number" data-line-number="693"></td>
  3365.         <td id="LC693" class="blob-code js-file-line">                  <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  3366.       </tr>
  3367.       <tr>
  3368.         <td id="L694" class="blob-num js-line-number" data-line-number="694"></td>
  3369.         <td id="LC694" class="blob-code js-file-line">          <span class="pl-c1">sci_set_current_position</span>(sci, pos + data-&gt;jump_on_tab, <span class="pl-c1">FALSE</span>);</td>
  3370.       </tr>
  3371.       <tr>
  3372.         <td id="L695" class="blob-num js-line-number" data-line-number="695"></td>
  3373.         <td id="LC695" class="blob-code js-file-line">          data-&gt;jump_on_tab = <span class="pl-c1">0</span>;</td>
  3374.       </tr>
  3375.       <tr>
  3376.         <td id="L696" class="blob-num js-line-number" data-line-number="696"></td>
  3377.         <td id="LC696" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_STOP_ACTION;</td>
  3378.       </tr>
  3379.       <tr>
  3380.         <td id="L697" class="blob-num js-line-number" data-line-number="697"></td>
  3381.         <td id="LC697" class="blob-code js-file-line">  }</td>
  3382.       </tr>
  3383.       <tr>
  3384.         <td id="L698" class="blob-num js-line-number" data-line-number="698"></td>
  3385.         <td id="LC698" class="blob-code js-file-line">
  3386. </td>
  3387.       </tr>
  3388.       <tr>
  3389.         <td id="L699" class="blob-num js-line-number" data-line-number="699"></td>
  3390.         <td id="LC699" class="blob-code js-file-line">  <span class="pl-c">/* set up completion chars */</span></td>
  3391.       </tr>
  3392.       <tr>
  3393.         <td id="L700" class="blob-num js-line-number" data-line-number="700"></td>
  3394.         <td id="LC700" class="blob-code js-file-line">  <span class="pl-k">if</span> (!<span class="pl-c1">check_chars</span>(sci, ch, chars_left, chars_right))</td>
  3395.       </tr>
  3396.       <tr>
  3397.         <td id="L701" class="blob-num js-line-number" data-line-number="701"></td>
  3398.         <td id="LC701" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  3399.       </tr>
  3400.       <tr>
  3401.         <td id="L702" class="blob-num js-line-number" data-line-number="702"></td>
  3402.         <td id="LC702" class="blob-code js-file-line">
  3403. </td>
  3404.       </tr>
  3405.       <tr>
  3406.         <td id="L703" class="blob-num js-line-number" data-line-number="703"></td>
  3407.         <td id="LC703" class="blob-code js-file-line">  has_sel = <span class="pl-c1">sci_has_selection</span>(sci);</td>
  3408.       </tr>
  3409.       <tr>
  3410.         <td id="L704" class="blob-num js-line-number" data-line-number="704"></td>
  3411.         <td id="LC704" class="blob-code js-file-line">
  3412. </td>
  3413.       </tr>
  3414.       <tr>
  3415.         <td id="L705" class="blob-num js-line-number" data-line-number="705"></td>
  3416.         <td id="LC705" class="blob-code js-file-line">  <span class="pl-c">/* do not suppress/complete in case: &#39;\|&#39; */</span></td>
  3417.       </tr>
  3418.       <tr>
  3419.         <td id="L706" class="blob-num js-line-number" data-line-number="706"></td>
  3420.         <td id="LC706" class="blob-code js-file-line">  <span class="pl-k">if</span> (<span class="pl-c1">char_is_quote</span>(ch) &amp;&amp; <span class="pl-c1">char_at</span>(sci, pos - <span class="pl-c1">1</span>) == <span class="pl-s"><span class="pl-pds">&#39;</span><span class="pl-cce">\\</span><span class="pl-pds">&#39;</span></span> &amp;&amp; !has_sel)</td>
  3421.       </tr>
  3422.       <tr>
  3423.         <td id="L707" class="blob-num js-line-number" data-line-number="707"></td>
  3424.         <td id="LC707" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  3425.       </tr>
  3426.       <tr>
  3427.         <td id="L708" class="blob-num js-line-number" data-line-number="708"></td>
  3428.         <td id="LC708" class="blob-code js-file-line">
  3429. </td>
  3430.       </tr>
  3431.       <tr>
  3432.         <td id="L709" class="blob-num js-line-number" data-line-number="709"></td>
  3433.         <td id="LC709" class="blob-code js-file-line">  lexer = <span class="pl-c1">sci_get_lexer</span>(sci);</td>
  3434.       </tr>
  3435.       <tr>
  3436.         <td id="L710" class="blob-num js-line-number" data-line-number="710"></td>
  3437.         <td id="LC710" class="blob-code js-file-line">
  3438. </td>
  3439.       </tr>
  3440.       <tr>
  3441.         <td id="L711" class="blob-num js-line-number" data-line-number="711"></td>
  3442.         <td id="LC711" class="blob-code js-file-line">  <span class="pl-c">/* in C-like languages - complete functions with ; */</span></td>
  3443.       </tr>
  3444.       <tr>
  3445.         <td id="L712" class="blob-num js-line-number" data-line-number="712"></td>
  3446.         <td id="LC712" class="blob-code js-file-line">  lex_offset = -<span class="pl-c1">1</span>;</td>
  3447.       </tr>
  3448.       <tr>
  3449.         <td id="L713" class="blob-num js-line-number" data-line-number="713"></td>
  3450.         <td id="LC713" class="blob-code js-file-line">  ch_buf = <span class="pl-c1">char_at</span>(sci, pos + lex_offset);</td>
  3451.       </tr>
  3452.       <tr>
  3453.         <td id="L714" class="blob-num js-line-number" data-line-number="714"></td>
  3454.         <td id="LC714" class="blob-code js-file-line">  <span class="pl-k">while</span> (<span class="pl-c1">g_ascii_isspace</span>(ch_buf))</td>
  3455.       </tr>
  3456.       <tr>
  3457.         <td id="L715" class="blob-num js-line-number" data-line-number="715"></td>
  3458.         <td id="LC715" class="blob-code js-file-line">  {</td>
  3459.       </tr>
  3460.       <tr>
  3461.         <td id="L716" class="blob-num js-line-number" data-line-number="716"></td>
  3462.         <td id="LC716" class="blob-code js-file-line">          --lex_offset;</td>
  3463.       </tr>
  3464.       <tr>
  3465.         <td id="L717" class="blob-num js-line-number" data-line-number="717"></td>
  3466.         <td id="LC717" class="blob-code js-file-line">          ch_buf = <span class="pl-c1">char_at</span>(sci, pos + lex_offset);</td>
  3467.       </tr>
  3468.       <tr>
  3469.         <td id="L718" class="blob-num js-line-number" data-line-number="718"></td>
  3470.         <td id="LC718" class="blob-code js-file-line">  }</td>
  3471.       </tr>
  3472.       <tr>
  3473.         <td id="L719" class="blob-num js-line-number" data-line-number="719"></td>
  3474.         <td id="LC719" class="blob-code js-file-line">
  3475. </td>
  3476.       </tr>
  3477.       <tr>
  3478.         <td id="L720" class="blob-num js-line-number" data-line-number="720"></td>
  3479.         <td id="LC720" class="blob-code js-file-line">  style = <span class="pl-c1">sci_get_style_at</span>(sci, pos + lex_offset);</td>
  3480.       </tr>
  3481.       <tr>
  3482.         <td id="L721" class="blob-num js-line-number" data-line-number="721"></td>
  3483.         <td id="LC721" class="blob-code js-file-line">
  3484. </td>
  3485.       </tr>
  3486.       <tr>
  3487.         <td id="L722" class="blob-num js-line-number" data-line-number="722"></td>
  3488.         <td id="LC722" class="blob-code js-file-line">  <span class="pl-c">/* add ; after functions */</span></td>
  3489.       </tr>
  3490.       <tr>
  3491.         <td id="L723" class="blob-num js-line-number" data-line-number="723"></td>
  3492.         <td id="LC723" class="blob-code js-file-line">  <span class="pl-k">if</span> (</td>
  3493.       </tr>
  3494.       <tr>
  3495.         <td id="L724" class="blob-num js-line-number" data-line-number="724"></td>
  3496.         <td id="LC724" class="blob-code js-file-line">          !has_sel &amp;&amp;</td>
  3497.       </tr>
  3498.       <tr>
  3499.         <td id="L725" class="blob-num js-line-number" data-line-number="725"></td>
  3500.         <td id="LC725" class="blob-code js-file-line">          ac_info-&gt;close_functions &amp;&amp;</td>
  3501.       </tr>
  3502.       <tr>
  3503.         <td id="L726" class="blob-num js-line-number" data-line-number="726"></td>
  3504.         <td id="LC726" class="blob-code js-file-line">          chars_left[<span class="pl-c1">0</span>] == <span class="pl-s"><span class="pl-pds">&#39;</span>(<span class="pl-pds">&#39;</span></span> &amp;&amp;</td>
  3505.       </tr>
  3506.       <tr>
  3507.         <td id="L727" class="blob-num js-line-number" data-line-number="727"></td>
  3508.         <td id="LC727" class="blob-code js-file-line">          <span class="pl-c1">lexer_cpp_like</span>(lexer, style) &amp;&amp;</td>
  3509.       </tr>
  3510.       <tr>
  3511.         <td id="L728" class="blob-num js-line-number" data-line-number="728"></td>
  3512.         <td id="LC728" class="blob-code js-file-line">          pos == <span class="pl-c1">get_end_pos</span>(sci, line) &amp;&amp;</td>
  3513.       </tr>
  3514.       <tr>
  3515.         <td id="L729" class="blob-num js-line-number" data-line-number="729"></td>
  3516.         <td id="LC729" class="blob-code js-file-line">          <span class="pl-c1">sci_get_line_indentation</span>(sci, line) != <span class="pl-c1">0</span> &amp;&amp;</td>
  3517.       </tr>
  3518.       <tr>
  3519.         <td id="L730" class="blob-num js-line-number" data-line-number="730"></td>
  3520.         <td id="LC730" class="blob-code js-file-line">          !<span class="pl-c1">check_define</span>(sci, line)</td>
  3521.       </tr>
  3522.       <tr>
  3523.         <td id="L731" class="blob-num js-line-number" data-line-number="731"></td>
  3524.         <td id="LC731" class="blob-code js-file-line">  )</td>
  3525.       </tr>
  3526.       <tr>
  3527.         <td id="L732" class="blob-num js-line-number" data-line-number="732"></td>
  3528.         <td id="LC732" class="blob-code js-file-line">          chars_right[<span class="pl-c1">1</span>] = <span class="pl-s"><span class="pl-pds">&#39;</span>;<span class="pl-pds">&#39;</span></span>;</td>
  3529.       </tr>
  3530.       <tr>
  3531.         <td id="L733" class="blob-num js-line-number" data-line-number="733"></td>
  3532.         <td id="LC733" class="blob-code js-file-line">
  3533. </td>
  3534.       </tr>
  3535.       <tr>
  3536.         <td id="L734" class="blob-num js-line-number" data-line-number="734"></td>
  3537.         <td id="LC734" class="blob-code js-file-line">  style = <span class="pl-c1">sci_get_style_at</span>(sci, pos);</td>
  3538.       </tr>
  3539.       <tr>
  3540.         <td id="L735" class="blob-num js-line-number" data-line-number="735"></td>
  3541.         <td id="LC735" class="blob-code js-file-line">
  3542. </td>
  3543.       </tr>
  3544.       <tr>
  3545.         <td id="L736" class="blob-num js-line-number" data-line-number="736"></td>
  3546.         <td id="LC736" class="blob-code js-file-line">  <span class="pl-c">/* suppress double completion symbols */</span></td>
  3547.       </tr>
  3548.       <tr>
  3549.         <td id="L737" class="blob-num js-line-number" data-line-number="737"></td>
  3550.         <td id="LC737" class="blob-code js-file-line">  ch_next = <span class="pl-c1">char_at</span>(sci, pos);</td>
  3551.       </tr>
  3552.       <tr>
  3553.         <td id="L738" class="blob-num js-line-number" data-line-number="738"></td>
  3554.         <td id="LC738" class="blob-code js-file-line">  <span class="pl-k">if</span> (ch == ch_next &amp;&amp; !has_sel &amp;&amp; ac_info-&gt;suppress_doubling &amp;&amp;</td>
  3555.       </tr>
  3556.       <tr>
  3557.         <td id="L739" class="blob-num js-line-number" data-line-number="739"></td>
  3558.         <td id="LC739" class="blob-code js-file-line">    !(chars_left[<span class="pl-c1">0</span>] != chars_right[<span class="pl-c1">0</span>] &amp;&amp; ch == chars_left[<span class="pl-c1">0</span>]))</td>
  3559.       </tr>
  3560.       <tr>
  3561.         <td id="L740" class="blob-num js-line-number" data-line-number="740"></td>
  3562.         <td id="LC740" class="blob-code js-file-line">  {</td>
  3563.       </tr>
  3564.       <tr>
  3565.         <td id="L741" class="blob-num js-line-number" data-line-number="741"></td>
  3566.         <td id="LC741" class="blob-code js-file-line">          <span class="pl-c">/* jump_on_data may be 2 (due to autoclosing &quot;);&quot;). Need to decrement if &quot;)&quot; is pressed */</span></td>
  3567.       </tr>
  3568.       <tr>
  3569.         <td id="L742" class="blob-num js-line-number" data-line-number="742"></td>
  3570.         <td id="LC742" class="blob-code js-file-line">          <span class="pl-k">if</span> (data-&gt;jump_on_tab &gt; <span class="pl-c1">0</span>)</td>
  3571.       </tr>
  3572.       <tr>
  3573.         <td id="L743" class="blob-num js-line-number" data-line-number="743"></td>
  3574.         <td id="LC743" class="blob-code js-file-line">                  data-&gt;jump_on_tab -= <span class="pl-c1">1</span>;</td>
  3575.       </tr>
  3576.       <tr>
  3577.         <td id="L744" class="blob-num js-line-number" data-line-number="744"></td>
  3578.         <td id="LC744" class="blob-code js-file-line">          <span class="pl-k">if</span> ((!ac_info-&gt;comments_ac_enable &amp;&amp; !<span class="pl-c1">highlighting_is_code_style</span>(lexer, style)) &amp;&amp;</td>
  3579.       </tr>
  3580.       <tr>
  3581.         <td id="L745" class="blob-num js-line-number" data-line-number="745"></td>
  3582.         <td id="LC745" class="blob-code js-file-line">                ch != <span class="pl-s"><span class="pl-pds">&#39;</span>&quot;<span class="pl-pds">&#39;</span></span> &amp;&amp; ch != <span class="pl-s"><span class="pl-pds">&#39;</span><span class="pl-cce">\&#39;</span><span class="pl-pds">&#39;</span></span>)</td>
  3583.       </tr>
  3584.       <tr>
  3585.         <td id="L746" class="blob-num js-line-number" data-line-number="746"></td>
  3586.         <td id="LC746" class="blob-code js-file-line">                  <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  3587.       </tr>
  3588.       <tr>
  3589.         <td id="L747" class="blob-num js-line-number" data-line-number="747"></td>
  3590.         <td id="LC747" class="blob-code js-file-line">
  3591. </td>
  3592.       </tr>
  3593.       <tr>
  3594.         <td id="L748" class="blob-num js-line-number" data-line-number="748"></td>
  3595.         <td id="LC748" class="blob-code js-file-line">          <span class="pl-c">/* suppress ; only at end of line */</span></td>
  3596.       </tr>
  3597.       <tr>
  3598.         <td id="L749" class="blob-num js-line-number" data-line-number="749"></td>
  3599.         <td id="LC749" class="blob-code js-file-line">          <span class="pl-k">if</span> (ch == <span class="pl-s"><span class="pl-pds">&#39;</span>;<span class="pl-pds">&#39;</span></span> &amp;&amp; pos + <span class="pl-c1">1</span> != <span class="pl-c1">get_end_pos</span>(sci, line))</td>
  3600.       </tr>
  3601.       <tr>
  3602.         <td id="L750" class="blob-num js-line-number" data-line-number="750"></td>
  3603.         <td id="LC750" class="blob-code js-file-line">                  <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  3604.       </tr>
  3605.       <tr>
  3606.         <td id="L751" class="blob-num js-line-number" data-line-number="751"></td>
  3607.         <td id="LC751" class="blob-code js-file-line">          <span class="pl-c1">SSM</span>(sci, SCI_DELETERANGE, pos, <span class="pl-c1">1</span>);</td>
  3608.       </tr>
  3609.       <tr>
  3610.         <td id="L752" class="blob-num js-line-number" data-line-number="752"></td>
  3611.         <td id="LC752" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  3612.       </tr>
  3613.       <tr>
  3614.         <td id="L753" class="blob-num js-line-number" data-line-number="753"></td>
  3615.         <td id="LC753" class="blob-code js-file-line">  }</td>
  3616.       </tr>
  3617.       <tr>
  3618.         <td id="L754" class="blob-num js-line-number" data-line-number="754"></td>
  3619.         <td id="LC754" class="blob-code js-file-line">
  3620. </td>
  3621.       </tr>
  3622.       <tr>
  3623.         <td id="L755" class="blob-num js-line-number" data-line-number="755"></td>
  3624.         <td id="LC755" class="blob-code js-file-line">  <span class="pl-k">if</span> (ch == <span class="pl-s"><span class="pl-pds">&#39;</span>;<span class="pl-pds">&#39;</span></span>)</td>
  3625.       </tr>
  3626.       <tr>
  3627.         <td id="L756" class="blob-num js-line-number" data-line-number="756"></td>
  3628.         <td id="LC756" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  3629.       </tr>
  3630.       <tr>
  3631.         <td id="L757" class="blob-num js-line-number" data-line-number="757"></td>
  3632.         <td id="LC757" class="blob-code js-file-line">
  3633. </td>
  3634.       </tr>
  3635.       <tr>
  3636.         <td id="L758" class="blob-num js-line-number" data-line-number="758"></td>
  3637.         <td id="LC758" class="blob-code js-file-line">  <span class="pl-c">/* If we have selected text */</span></td>
  3638.       </tr>
  3639.       <tr>
  3640.         <td id="L759" class="blob-num js-line-number" data-line-number="759"></td>
  3641.         <td id="LC759" class="blob-code js-file-line">  <span class="pl-k">if</span> (has_sel &amp;&amp; ac_info-&gt;enclose_selections)</td>
  3642.       </tr>
  3643.       <tr>
  3644.         <td id="L760" class="blob-num js-line-number" data-line-number="760"></td>
  3645.         <td id="LC760" class="blob-code js-file-line">          <span class="pl-k">return</span> <span class="pl-c1">enclose_selection</span>(data, sci, ch, lexer, style, chars_left, chars_right, editor);</td>
  3646.       </tr>
  3647.       <tr>
  3648.         <td id="L761" class="blob-num js-line-number" data-line-number="761"></td>
  3649.         <td id="LC761" class="blob-code js-file-line">
  3650. </td>
  3651.       </tr>
  3652.       <tr>
  3653.         <td id="L762" class="blob-num js-line-number" data-line-number="762"></td>
  3654.         <td id="LC762" class="blob-code js-file-line">  <span class="pl-c">/* disable autocompletion inside comments and strings */</span></td>
  3655.       </tr>
  3656.       <tr>
  3657.         <td id="L763" class="blob-num js-line-number" data-line-number="763"></td>
  3658.         <td id="LC763" class="blob-code js-file-line">  <span class="pl-k">if</span> (!ac_info-&gt;comments_ac_enable &amp;&amp; !<span class="pl-c1">highlighting_is_code_style</span>(lexer, style))</td>
  3659.       </tr>
  3660.       <tr>
  3661.         <td id="L764" class="blob-num js-line-number" data-line-number="764"></td>
  3662.         <td id="LC764" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  3663.       </tr>
  3664.       <tr>
  3665.         <td id="L765" class="blob-num js-line-number" data-line-number="765"></td>
  3666.         <td id="LC765" class="blob-code js-file-line">
  3667. </td>
  3668.       </tr>
  3669.       <tr>
  3670.         <td id="L766" class="blob-num js-line-number" data-line-number="766"></td>
  3671.         <td id="LC766" class="blob-code js-file-line">  <span class="pl-k">if</span> (ch == chars_right[<span class="pl-c1">0</span>] &amp;&amp; chars_left[<span class="pl-c1">0</span>] != chars_right[<span class="pl-c1">0</span>])</td>
  3672.       </tr>
  3673.       <tr>
  3674.         <td id="L767" class="blob-num js-line-number" data-line-number="767"></td>
  3675.         <td id="LC767" class="blob-code js-file-line">          <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  3676.       </tr>
  3677.       <tr>
  3678.         <td id="L768" class="blob-num js-line-number" data-line-number="768"></td>
  3679.         <td id="LC768" class="blob-code js-file-line">
  3680. </td>
  3681.       </tr>
  3682.       <tr>
  3683.         <td id="L769" class="blob-num js-line-number" data-line-number="769"></td>
  3684.         <td id="LC769" class="blob-code js-file-line">  <span class="pl-c">/* add ; after struct */</span></td>
  3685.       </tr>
  3686.       <tr>
  3687.         <td id="L770" class="blob-num js-line-number" data-line-number="770"></td>
  3688.         <td id="LC770" class="blob-code js-file-line">  <span class="pl-c1">struct_semicolon</span>(sci, pos, chars_right, filetype);</td>
  3689.       </tr>
  3690.       <tr>
  3691.         <td id="L771" class="blob-num js-line-number" data-line-number="771"></td>
  3692.         <td id="LC771" class="blob-code js-file-line">
  3693. </td>
  3694.       </tr>
  3695.       <tr>
  3696.         <td id="L772" class="blob-num js-line-number" data-line-number="772"></td>
  3697.         <td id="LC772" class="blob-code js-file-line">  <span class="pl-c">/* just close char */</span></td>
  3698.       </tr>
  3699.       <tr>
  3700.         <td id="L773" class="blob-num js-line-number" data-line-number="773"></td>
  3701.         <td id="LC773" class="blob-code js-file-line">  <span class="pl-c1">SSM</span>(sci, SCI_INSERTTEXT, pos, (<span class="pl-c1">sptr_t</span>)chars_right);</td>
  3702.       </tr>
  3703.       <tr>
  3704.         <td id="L774" class="blob-num js-line-number" data-line-number="774"></td>
  3705.         <td id="LC774" class="blob-code js-file-line">  <span class="pl-c1">sci_set_current_position</span>(sci, pos, <span class="pl-c1">TRUE</span>);</td>
  3706.       </tr>
  3707.       <tr>
  3708.         <td id="L775" class="blob-num js-line-number" data-line-number="775"></td>
  3709.         <td id="LC775" class="blob-code js-file-line">  data-&gt;jump_on_tab += <span class="pl-c1">strlen</span>(chars_right);</td>
  3710.       </tr>
  3711.       <tr>
  3712.         <td id="L776" class="blob-num js-line-number" data-line-number="776"></td>
  3713.         <td id="LC776" class="blob-code js-file-line">  data-&gt;last_caret = pos;</td>
  3714.       </tr>
  3715.       <tr>
  3716.         <td id="L777" class="blob-num js-line-number" data-line-number="777"></td>
  3717.         <td id="LC777" class="blob-code js-file-line">  data-&gt;last_line = <span class="pl-c1">sci_get_current_line</span>(sci);</td>
  3718.       </tr>
  3719.       <tr>
  3720.         <td id="L778" class="blob-num js-line-number" data-line-number="778"></td>
  3721.         <td id="LC778" class="blob-code js-file-line">  <span class="pl-k">return</span> AC_CONTINUE_ACTION;</td>
  3722.       </tr>
  3723.       <tr>
  3724.         <td id="L779" class="blob-num js-line-number" data-line-number="779"></td>
  3725.         <td id="LC779" class="blob-code js-file-line">}</td>
  3726.       </tr>
  3727.       <tr>
  3728.         <td id="L780" class="blob-num js-line-number" data-line-number="780"></td>
  3729.         <td id="LC780" class="blob-code js-file-line">
  3730. </td>
  3731.       </tr>
  3732.       <tr>
  3733.         <td id="L781" class="blob-num js-line-number" data-line-number="781"></td>
  3734.         <td id="LC781" class="blob-code js-file-line"><span class="pl-k">static</span> gboolean</td>
  3735.       </tr>
  3736.       <tr>
  3737.         <td id="L782" class="blob-num js-line-number" data-line-number="782"></td>
  3738.         <td id="LC782" class="blob-code js-file-line"><span class="pl-en">on_key_press</span>(GtkWidget *widget, GdkEventKey *event, gpointer user_data)</td>
  3739.       </tr>
  3740.       <tr>
  3741.         <td id="L783" class="blob-num js-line-number" data-line-number="783"></td>
  3742.         <td id="LC783" class="blob-code js-file-line">{</td>
  3743.       </tr>
  3744.       <tr>
  3745.         <td id="L784" class="blob-num js-line-number" data-line-number="784"></td>
  3746.         <td id="LC784" class="blob-code js-file-line">  AutocloseUserData *data = user_data;</td>
  3747.       </tr>
  3748.       <tr>
  3749.         <td id="L785" class="blob-num js-line-number" data-line-number="785"></td>
  3750.         <td id="LC785" class="blob-code js-file-line">  <span class="pl-c1">g_return_val_if_fail</span>(data &amp;&amp; <span class="pl-c1">DOC_VALID</span>(data-&gt;doc), AC_CONTINUE_ACTION);</td>
  3751.       </tr>
  3752.       <tr>
  3753.         <td id="L786" class="blob-num js-line-number" data-line-number="786"></td>
  3754.         <td id="LC786" class="blob-code js-file-line">  <span class="pl-k">return</span> <span class="pl-c1">auto_close_chars</span>(data, event);</td>
  3755.       </tr>
  3756.       <tr>
  3757.         <td id="L787" class="blob-num js-line-number" data-line-number="787"></td>
  3758.         <td id="LC787" class="blob-code js-file-line">}</td>
  3759.       </tr>
  3760.       <tr>
  3761.         <td id="L788" class="blob-num js-line-number" data-line-number="788"></td>
  3762.         <td id="LC788" class="blob-code js-file-line">
  3763. </td>
  3764.       </tr>
  3765.       <tr>
  3766.         <td id="L789" class="blob-num js-line-number" data-line-number="789"></td>
  3767.         <td id="LC789" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  3768.       </tr>
  3769.       <tr>
  3770.         <td id="L790" class="blob-num js-line-number" data-line-number="790"></td>
  3771.         <td id="LC790" class="blob-code js-file-line"><span class="pl-en">on_sci_notify</span>(ScintillaObject *sci, gint scn, SCNotification *nt, gpointer user_data)</td>
  3772.       </tr>
  3773.       <tr>
  3774.         <td id="L791" class="blob-num js-line-number" data-line-number="791"></td>
  3775.         <td id="LC791" class="blob-code js-file-line">{</td>
  3776.       </tr>
  3777.       <tr>
  3778.         <td id="L792" class="blob-num js-line-number" data-line-number="792"></td>
  3779.         <td id="LC792" class="blob-code js-file-line">  AutocloseUserData *data = user_data;</td>
  3780.       </tr>
  3781.       <tr>
  3782.         <td id="L793" class="blob-num js-line-number" data-line-number="793"></td>
  3783.         <td id="LC793" class="blob-code js-file-line">
  3784. </td>
  3785.       </tr>
  3786.       <tr>
  3787.         <td id="L794" class="blob-num js-line-number" data-line-number="794"></td>
  3788.         <td id="LC794" class="blob-code js-file-line">  <span class="pl-k">if</span> (!ac_info-&gt;jump_on_tab)</td>
  3789.       </tr>
  3790.       <tr>
  3791.         <td id="L795" class="blob-num js-line-number" data-line-number="795"></td>
  3792.         <td id="LC795" class="blob-code js-file-line">          <span class="pl-k">return</span>;</td>
  3793.       </tr>
  3794.       <tr>
  3795.         <td id="L796" class="blob-num js-line-number" data-line-number="796"></td>
  3796.         <td id="LC796" class="blob-code js-file-line">  <span class="pl-c1">g_return_if_fail</span>(data);</td>
  3797.       </tr>
  3798.       <tr>
  3799.         <td id="L797" class="blob-num js-line-number" data-line-number="797"></td>
  3800.         <td id="LC797" class="blob-code js-file-line">
  3801. </td>
  3802.       </tr>
  3803.       <tr>
  3804.         <td id="L798" class="blob-num js-line-number" data-line-number="798"></td>
  3805.         <td id="LC798" class="blob-code js-file-line">  <span class="pl-c">/* reset jump_on_tab state when user clicked away */</span></td>
  3806.       </tr>
  3807.       <tr>
  3808.         <td id="L799" class="blob-num js-line-number" data-line-number="799"></td>
  3809.         <td id="LC799" class="blob-code js-file-line">  gboolean updated_sel  = nt-&gt;updated &amp; SC_UPDATE_SELECTION;</td>
  3810.       </tr>
  3811.       <tr>
  3812.         <td id="L800" class="blob-num js-line-number" data-line-number="800"></td>
  3813.         <td id="LC800" class="blob-code js-file-line">  gboolean updated_text = nt-&gt;updated &amp; SC_UPDATE_CONTENT;</td>
  3814.       </tr>
  3815.       <tr>
  3816.         <td id="L801" class="blob-num js-line-number" data-line-number="801"></td>
  3817.         <td id="LC801" class="blob-code js-file-line">  gint new_caret = <span class="pl-c1">sci_get_current_position</span>(sci);</td>
  3818.       </tr>
  3819.       <tr>
  3820.         <td id="L802" class="blob-num js-line-number" data-line-number="802"></td>
  3821.         <td id="LC802" class="blob-code js-file-line">  gint new_line  = <span class="pl-c1">sci_get_current_line</span>(sci);</td>
  3822.       </tr>
  3823.       <tr>
  3824.         <td id="L803" class="blob-num js-line-number" data-line-number="803"></td>
  3825.         <td id="LC803" class="blob-code js-file-line">  <span class="pl-k">if</span> (updated_sel &amp;&amp; !updated_text)</td>
  3826.       </tr>
  3827.       <tr>
  3828.         <td id="L804" class="blob-num js-line-number" data-line-number="804"></td>
  3829.         <td id="LC804" class="blob-code js-file-line">  {</td>
  3830.       </tr>
  3831.       <tr>
  3832.         <td id="L805" class="blob-num js-line-number" data-line-number="805"></td>
  3833.         <td id="LC805" class="blob-code js-file-line">          gint delta = data-&gt;last_caret -  new_caret;</td>
  3834.       </tr>
  3835.       <tr>
  3836.         <td id="L806" class="blob-num js-line-number" data-line-number="806"></td>
  3837.         <td id="LC806" class="blob-code js-file-line">          gint delta_l = data-&gt;last_line - new_line;</td>
  3838.       </tr>
  3839.       <tr>
  3840.         <td id="L807" class="blob-num js-line-number" data-line-number="807"></td>
  3841.         <td id="LC807" class="blob-code js-file-line">          <span class="pl-k">if</span> (delta_l == <span class="pl-c1">0</span> &amp;&amp; data-&gt;jump_on_tab)</td>
  3842.       </tr>
  3843.       <tr>
  3844.         <td id="L808" class="blob-num js-line-number" data-line-number="808"></td>
  3845.         <td id="LC808" class="blob-code js-file-line">                  data-&gt;jump_on_tab += delta;</td>
  3846.       </tr>
  3847.       <tr>
  3848.         <td id="L809" class="blob-num js-line-number" data-line-number="809"></td>
  3849.         <td id="LC809" class="blob-code js-file-line">          <span class="pl-k">else</span></td>
  3850.       </tr>
  3851.       <tr>
  3852.         <td id="L810" class="blob-num js-line-number" data-line-number="810"></td>
  3853.         <td id="LC810" class="blob-code js-file-line">                  data-&gt;jump_on_tab = <span class="pl-c1">0</span>;</td>
  3854.       </tr>
  3855.       <tr>
  3856.         <td id="L811" class="blob-num js-line-number" data-line-number="811"></td>
  3857.         <td id="LC811" class="blob-code js-file-line">  }</td>
  3858.       </tr>
  3859.       <tr>
  3860.         <td id="L812" class="blob-num js-line-number" data-line-number="812"></td>
  3861.         <td id="LC812" class="blob-code js-file-line">  data-&gt;last_caret = new_caret;</td>
  3862.       </tr>
  3863.       <tr>
  3864.         <td id="L813" class="blob-num js-line-number" data-line-number="813"></td>
  3865.         <td id="LC813" class="blob-code js-file-line">  data-&gt;last_line = new_line;</td>
  3866.       </tr>
  3867.       <tr>
  3868.         <td id="L814" class="blob-num js-line-number" data-line-number="814"></td>
  3869.         <td id="LC814" class="blob-code js-file-line">}</td>
  3870.       </tr>
  3871.       <tr>
  3872.         <td id="L815" class="blob-num js-line-number" data-line-number="815"></td>
  3873.         <td id="LC815" class="blob-code js-file-line">
  3874. </td>
  3875.       </tr>
  3876.       <tr>
  3877.         <td id="L816" class="blob-num js-line-number" data-line-number="816"></td>
  3878.         <td id="LC816" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  3879.       </tr>
  3880.       <tr>
  3881.         <td id="L817" class="blob-num js-line-number" data-line-number="817"></td>
  3882.         <td id="LC817" class="blob-code js-file-line"><span class="pl-en">on_document_open</span>(GObject *obj, GeanyDocument *doc, gpointer user_data)</td>
  3883.       </tr>
  3884.       <tr>
  3885.         <td id="L818" class="blob-num js-line-number" data-line-number="818"></td>
  3886.         <td id="LC818" class="blob-code js-file-line">{</td>
  3887.       </tr>
  3888.       <tr>
  3889.         <td id="L819" class="blob-num js-line-number" data-line-number="819"></td>
  3890.         <td id="LC819" class="blob-code js-file-line">  AutocloseUserData *data;</td>
  3891.       </tr>
  3892.       <tr>
  3893.         <td id="L820" class="blob-num js-line-number" data-line-number="820"></td>
  3894.         <td id="LC820" class="blob-code js-file-line">  ScintillaObject   *sci;</td>
  3895.       </tr>
  3896.       <tr>
  3897.         <td id="L821" class="blob-num js-line-number" data-line-number="821"></td>
  3898.         <td id="LC821" class="blob-code js-file-line">  <span class="pl-c1">g_return_if_fail</span>(<span class="pl-c1">DOC_VALID</span>(doc));</td>
  3899.       </tr>
  3900.       <tr>
  3901.         <td id="L822" class="blob-num js-line-number" data-line-number="822"></td>
  3902.         <td id="LC822" class="blob-code js-file-line">
  3903. </td>
  3904.       </tr>
  3905.       <tr>
  3906.         <td id="L823" class="blob-num js-line-number" data-line-number="823"></td>
  3907.         <td id="LC823" class="blob-code js-file-line">  sci = doc-&gt;editor-&gt;sci;</td>
  3908.       </tr>
  3909.       <tr>
  3910.         <td id="L824" class="blob-num js-line-number" data-line-number="824"></td>
  3911.         <td id="LC824" class="blob-code js-file-line">  data = <span class="pl-c1">g_new0</span>(AutocloseUserData, <span class="pl-c1">1</span>);</td>
  3912.       </tr>
  3913.       <tr>
  3914.         <td id="L825" class="blob-num js-line-number" data-line-number="825"></td>
  3915.         <td id="LC825" class="blob-code js-file-line">  data-&gt;doc = doc;</td>
  3916.       </tr>
  3917.       <tr>
  3918.         <td id="L826" class="blob-num js-line-number" data-line-number="826"></td>
  3919.         <td id="LC826" class="blob-code js-file-line">  <span class="pl-c1">plugin_signal_connect</span>(geany_plugin, <span class="pl-c1">G_OBJECT</span>(sci), <span class="pl-s"><span class="pl-pds">&quot;</span>sci-notify<span class="pl-pds">&quot;</span></span>,</td>
  3920.       </tr>
  3921.       <tr>
  3922.         <td id="L827" class="blob-num js-line-number" data-line-number="827"></td>
  3923.         <td id="LC827" class="blob-code js-file-line">              <span class="pl-c1">FALSE</span>, <span class="pl-c1">G_CALLBACK</span>(on_sci_notify), data);</td>
  3924.       </tr>
  3925.       <tr>
  3926.         <td id="L828" class="blob-num js-line-number" data-line-number="828"></td>
  3927.         <td id="LC828" class="blob-code js-file-line">  <span class="pl-c1">plugin_signal_connect</span>(geany_plugin, <span class="pl-c1">G_OBJECT</span>(sci), <span class="pl-s"><span class="pl-pds">&quot;</span>key-press-event<span class="pl-pds">&quot;</span></span>,</td>
  3928.       </tr>
  3929.       <tr>
  3930.         <td id="L829" class="blob-num js-line-number" data-line-number="829"></td>
  3931.         <td id="LC829" class="blob-code js-file-line">                  <span class="pl-c1">FALSE</span>, <span class="pl-c1">G_CALLBACK</span>(on_key_press), data);</td>
  3932.       </tr>
  3933.       <tr>
  3934.         <td id="L830" class="blob-num js-line-number" data-line-number="830"></td>
  3935.         <td id="LC830" class="blob-code js-file-line">  <span class="pl-c">/* This will free the data when the sci is destroyed */</span></td>
  3936.       </tr>
  3937.       <tr>
  3938.         <td id="L831" class="blob-num js-line-number" data-line-number="831"></td>
  3939.         <td id="LC831" class="blob-code js-file-line">  <span class="pl-c1">g_object_set_data_full</span>(<span class="pl-c1">G_OBJECT</span>(sci), <span class="pl-s"><span class="pl-pds">&quot;</span>autoclose-userdata<span class="pl-pds">&quot;</span></span>, data, g_free);</td>
  3940.       </tr>
  3941.       <tr>
  3942.         <td id="L832" class="blob-num js-line-number" data-line-number="832"></td>
  3943.         <td id="LC832" class="blob-code js-file-line">}</td>
  3944.       </tr>
  3945.       <tr>
  3946.         <td id="L833" class="blob-num js-line-number" data-line-number="833"></td>
  3947.         <td id="LC833" class="blob-code js-file-line">
  3948. </td>
  3949.       </tr>
  3950.       <tr>
  3951.         <td id="L834" class="blob-num js-line-number" data-line-number="834"></td>
  3952.         <td id="LC834" class="blob-code js-file-line">PluginCallback plugin_callbacks[] =</td>
  3953.       </tr>
  3954.       <tr>
  3955.         <td id="L835" class="blob-num js-line-number" data-line-number="835"></td>
  3956.         <td id="LC835" class="blob-code js-file-line">{</td>
  3957.       </tr>
  3958.       <tr>
  3959.         <td id="L836" class="blob-num js-line-number" data-line-number="836"></td>
  3960.         <td id="LC836" class="blob-code js-file-line">  { <span class="pl-s"><span class="pl-pds">&quot;</span>document-open<span class="pl-pds">&quot;</span></span>,  (GCallback) &amp;on_document_open, <span class="pl-c1">FALSE</span>, <span class="pl-c1">NULL</span> },</td>
  3961.       </tr>
  3962.       <tr>
  3963.         <td id="L837" class="blob-num js-line-number" data-line-number="837"></td>
  3964.         <td id="LC837" class="blob-code js-file-line">  { <span class="pl-s"><span class="pl-pds">&quot;</span>document-new<span class="pl-pds">&quot;</span></span>,   (GCallback) &amp;on_document_open, <span class="pl-c1">FALSE</span>, <span class="pl-c1">NULL</span> },</td>
  3965.       </tr>
  3966.       <tr>
  3967.         <td id="L838" class="blob-num js-line-number" data-line-number="838"></td>
  3968.         <td id="LC838" class="blob-code js-file-line">  { <span class="pl-c1">NULL</span>, <span class="pl-c1">NULL</span>, <span class="pl-c1">FALSE</span>, <span class="pl-c1">NULL</span> }</td>
  3969.       </tr>
  3970.       <tr>
  3971.         <td id="L839" class="blob-num js-line-number" data-line-number="839"></td>
  3972.         <td id="LC839" class="blob-code js-file-line">};</td>
  3973.       </tr>
  3974.       <tr>
  3975.         <td id="L840" class="blob-num js-line-number" data-line-number="840"></td>
  3976.         <td id="LC840" class="blob-code js-file-line">
  3977. </td>
  3978.       </tr>
  3979.       <tr>
  3980.         <td id="L841" class="blob-num js-line-number" data-line-number="841"></td>
  3981.         <td id="LC841" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  3982.       </tr>
  3983.       <tr>
  3984.         <td id="L842" class="blob-num js-line-number" data-line-number="842"></td>
  3985.         <td id="LC842" class="blob-code js-file-line"><span class="pl-en">configure_response_cb</span>(GtkDialog *dialog, gint response, gpointer user_data)</td>
  3986.       </tr>
  3987.       <tr>
  3988.         <td id="L843" class="blob-num js-line-number" data-line-number="843"></td>
  3989.         <td id="LC843" class="blob-code js-file-line">{</td>
  3990.       </tr>
  3991.       <tr>
  3992.         <td id="L844" class="blob-num js-line-number" data-line-number="844"></td>
  3993.         <td id="LC844" class="blob-code js-file-line">  <span class="pl-k">if</span> (response != GTK_RESPONSE_OK &amp;&amp; response != GTK_RESPONSE_APPLY)</td>
  3994.       </tr>
  3995.       <tr>
  3996.         <td id="L845" class="blob-num js-line-number" data-line-number="845"></td>
  3997.         <td id="LC845" class="blob-code js-file-line">          <span class="pl-k">return</span>;</td>
  3998.       </tr>
  3999.       <tr>
  4000.         <td id="L846" class="blob-num js-line-number" data-line-number="846"></td>
  4001.         <td id="LC846" class="blob-code js-file-line">  GKeyFile *config = <span class="pl-c1">g_key_file_new</span>();</td>
  4002.       </tr>
  4003.       <tr>
  4004.         <td id="L847" class="blob-num js-line-number" data-line-number="847"></td>
  4005.         <td id="LC847" class="blob-code js-file-line">  gchar    *config_dir = <span class="pl-c1">g_path_get_dirname</span>(ac_info-&gt;config_file);</td>
  4006.       </tr>
  4007.       <tr>
  4008.         <td id="L848" class="blob-num js-line-number" data-line-number="848"></td>
  4009.         <td id="LC848" class="blob-code js-file-line">
  4010. </td>
  4011.       </tr>
  4012.       <tr>
  4013.         <td id="L849" class="blob-num js-line-number" data-line-number="849"></td>
  4014.         <td id="LC849" class="blob-code js-file-line">  <span class="pl-c1">g_key_file_load_from_file</span>(config, ac_info-&gt;config_file, G_KEY_FILE_NONE, <span class="pl-c1">NULL</span>);</td>
  4015.       </tr>
  4016.       <tr>
  4017.         <td id="L850" class="blob-num js-line-number" data-line-number="850"></td>
  4018.         <td id="LC850" class="blob-code js-file-line">
  4019. </td>
  4020.       </tr>
  4021.       <tr>
  4022.         <td id="L851" class="blob-num js-line-number" data-line-number="851"></td>
  4023.         <td id="LC851" class="blob-code js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SAVE_CONF_BOOL</span>(<span class="pl-v">name</span>) G_STMT_START {                                    \</td>
  4024.       </tr>
  4025.       <tr>
  4026.         <td id="L852" class="blob-num js-line-number" data-line-number="852"></td>
  4027.         <td id="LC852" class="blob-code js-file-line">    ac_info-&gt;name = <span class="pl-c1">gtk_toggle_button_get_active</span>(<span class="pl-c1">GTK_TOGGLE_BUTTON</span>(            \</td>
  4028.       </tr>
  4029.       <tr>
  4030.         <td id="L853" class="blob-num js-line-number" data-line-number="853"></td>
  4031.         <td id="LC853" class="blob-code js-file-line">                        <span class="pl-c1">g_object_get_data</span>(<span class="pl-c1">G_OBJECT</span>(dialog), <span class="pl-s"><span class="pl-pds">&quot;</span>check_<span class="pl-pds">&quot;</span></span> #name))); \</td>
  4032.       </tr>
  4033.       <tr>
  4034.         <td id="L854" class="blob-num js-line-number" data-line-number="854"></td>
  4035.         <td id="LC854" class="blob-code js-file-line">    <span class="pl-c1">g_key_file_set_boolean</span>(config, <span class="pl-s"><span class="pl-pds">&quot;</span>autoclose<span class="pl-pds">&quot;</span></span>, #name, ac_info-&gt;name);         \</td>
  4036.       </tr>
  4037.       <tr>
  4038.         <td id="L855" class="blob-num js-line-number" data-line-number="855"></td>
  4039.         <td id="LC855" class="blob-code js-file-line">} G_STMT_END</td>
  4040.       </tr>
  4041.       <tr>
  4042.         <td id="L856" class="blob-num js-line-number" data-line-number="856"></td>
  4043.         <td id="LC856" class="blob-code js-file-line">
  4044. </td>
  4045.       </tr>
  4046.       <tr>
  4047.         <td id="L857" class="blob-num js-line-number" data-line-number="857"></td>
  4048.         <td id="LC857" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(parenthesis);</td>
  4049.       </tr>
  4050.       <tr>
  4051.         <td id="L858" class="blob-num js-line-number" data-line-number="858"></td>
  4052.         <td id="LC858" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(abracket);</td>
  4053.       </tr>
  4054.       <tr>
  4055.         <td id="L859" class="blob-num js-line-number" data-line-number="859"></td>
  4056.         <td id="LC859" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(abracket_htmlonly);</td>
  4057.       </tr>
  4058.       <tr>
  4059.         <td id="L860" class="blob-num js-line-number" data-line-number="860"></td>
  4060.         <td id="LC860" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(cbracket);</td>
  4061.       </tr>
  4062.       <tr>
  4063.         <td id="L861" class="blob-num js-line-number" data-line-number="861"></td>
  4064.         <td id="LC861" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(sbracket);</td>
  4065.       </tr>
  4066.       <tr>
  4067.         <td id="L862" class="blob-num js-line-number" data-line-number="862"></td>
  4068.         <td id="LC862" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(dquote);</td>
  4069.       </tr>
  4070.       <tr>
  4071.         <td id="L863" class="blob-num js-line-number" data-line-number="863"></td>
  4072.         <td id="LC863" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(squote);</td>
  4073.       </tr>
  4074.       <tr>
  4075.         <td id="L864" class="blob-num js-line-number" data-line-number="864"></td>
  4076.         <td id="LC864" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(backquote);</td>
  4077.       </tr>
  4078.       <tr>
  4079.         <td id="L865" class="blob-num js-line-number" data-line-number="865"></td>
  4080.         <td id="LC865" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(backquote_bashonly);</td>
  4081.       </tr>
  4082.       <tr>
  4083.         <td id="L866" class="blob-num js-line-number" data-line-number="866"></td>
  4084.         <td id="LC866" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(comments_ac_enable);</td>
  4085.       </tr>
  4086.       <tr>
  4087.         <td id="L867" class="blob-num js-line-number" data-line-number="867"></td>
  4088.         <td id="LC867" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(delete_pairing_brace);</td>
  4089.       </tr>
  4090.       <tr>
  4091.         <td id="L868" class="blob-num js-line-number" data-line-number="868"></td>
  4092.         <td id="LC868" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(suppress_doubling);</td>
  4093.       </tr>
  4094.       <tr>
  4095.         <td id="L869" class="blob-num js-line-number" data-line-number="869"></td>
  4096.         <td id="LC869" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(enclose_selections);</td>
  4097.       </tr>
  4098.       <tr>
  4099.         <td id="L870" class="blob-num js-line-number" data-line-number="870"></td>
  4100.         <td id="LC870" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(comments_enclose);</td>
  4101.       </tr>
  4102.       <tr>
  4103.         <td id="L871" class="blob-num js-line-number" data-line-number="871"></td>
  4104.         <td id="LC871" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(keep_selection);</td>
  4105.       </tr>
  4106.       <tr>
  4107.         <td id="L872" class="blob-num js-line-number" data-line-number="872"></td>
  4108.         <td id="LC872" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(make_indent_for_cbracket);</td>
  4109.       </tr>
  4110.       <tr>
  4111.         <td id="L873" class="blob-num js-line-number" data-line-number="873"></td>
  4112.         <td id="LC873" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(move_cursor_to_beginning);</td>
  4113.       </tr>
  4114.       <tr>
  4115.         <td id="L874" class="blob-num js-line-number" data-line-number="874"></td>
  4116.         <td id="LC874" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(improved_cbracket_indent);</td>
  4117.       </tr>
  4118.       <tr>
  4119.         <td id="L875" class="blob-num js-line-number" data-line-number="875"></td>
  4120.         <td id="LC875" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(whitesmiths_style);</td>
  4121.       </tr>
  4122.       <tr>
  4123.         <td id="L876" class="blob-num js-line-number" data-line-number="876"></td>
  4124.         <td id="LC876" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(close_functions);</td>
  4125.       </tr>
  4126.       <tr>
  4127.         <td id="L877" class="blob-num js-line-number" data-line-number="877"></td>
  4128.         <td id="LC877" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(bcksp_remove_pair);</td>
  4129.       </tr>
  4130.       <tr>
  4131.         <td id="L878" class="blob-num js-line-number" data-line-number="878"></td>
  4132.         <td id="LC878" class="blob-code js-file-line">  <span class="pl-c1">SAVE_CONF_BOOL</span>(jump_on_tab);</td>
  4133.       </tr>
  4134.       <tr>
  4135.         <td id="L879" class="blob-num js-line-number" data-line-number="879"></td>
  4136.         <td id="LC879" class="blob-code js-file-line">
  4137. </td>
  4138.       </tr>
  4139.       <tr>
  4140.         <td id="L880" class="blob-num js-line-number" data-line-number="880"></td>
  4141.         <td id="LC880" class="blob-code js-file-line">#<span class="pl-k">undef</span> SAVE_CONF_BOOL</td>
  4142.       </tr>
  4143.       <tr>
  4144.         <td id="L881" class="blob-num js-line-number" data-line-number="881"></td>
  4145.         <td id="LC881" class="blob-code js-file-line">
  4146. </td>
  4147.       </tr>
  4148.       <tr>
  4149.         <td id="L882" class="blob-num js-line-number" data-line-number="882"></td>
  4150.         <td id="LC882" class="blob-code js-file-line">  <span class="pl-k">if</span> (!<span class="pl-c1">g_file_test</span>(config_dir, G_FILE_TEST_IS_DIR) &amp;&amp; <span class="pl-c1">utils_mkdir</span>(config_dir, <span class="pl-c1">TRUE</span>) != <span class="pl-c1">0</span>)</td>
  4151.       </tr>
  4152.       <tr>
  4153.         <td id="L883" class="blob-num js-line-number" data-line-number="883"></td>
  4154.         <td id="LC883" class="blob-code js-file-line">  {</td>
  4155.       </tr>
  4156.       <tr>
  4157.         <td id="L884" class="blob-num js-line-number" data-line-number="884"></td>
  4158.         <td id="LC884" class="blob-code js-file-line">          <span class="pl-c1">dialogs_show_msgbox</span>(GTK_MESSAGE_ERROR,</td>
  4159.       </tr>
  4160.       <tr>
  4161.         <td id="L885" class="blob-num js-line-number" data-line-number="885"></td>
  4162.         <td id="LC885" class="blob-code js-file-line">                  <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Plugin configuration directory could not be created.<span class="pl-pds">&quot;</span></span>));</td>
  4163.       </tr>
  4164.       <tr>
  4165.         <td id="L886" class="blob-num js-line-number" data-line-number="886"></td>
  4166.         <td id="LC886" class="blob-code js-file-line">  }</td>
  4167.       </tr>
  4168.       <tr>
  4169.         <td id="L887" class="blob-num js-line-number" data-line-number="887"></td>
  4170.         <td id="LC887" class="blob-code js-file-line">  <span class="pl-k">else</span></td>
  4171.       </tr>
  4172.       <tr>
  4173.         <td id="L888" class="blob-num js-line-number" data-line-number="888"></td>
  4174.         <td id="LC888" class="blob-code js-file-line">  {</td>
  4175.       </tr>
  4176.       <tr>
  4177.         <td id="L889" class="blob-num js-line-number" data-line-number="889"></td>
  4178.         <td id="LC889" class="blob-code js-file-line">          <span class="pl-c">/* write config to file */</span></td>
  4179.       </tr>
  4180.       <tr>
  4181.         <td id="L890" class="blob-num js-line-number" data-line-number="890"></td>
  4182.         <td id="LC890" class="blob-code js-file-line">          gchar *data;</td>
  4183.       </tr>
  4184.       <tr>
  4185.         <td id="L891" class="blob-num js-line-number" data-line-number="891"></td>
  4186.         <td id="LC891" class="blob-code js-file-line">          data = <span class="pl-c1">g_key_file_to_data</span>(config, <span class="pl-c1">NULL</span>, <span class="pl-c1">NULL</span>);</td>
  4187.       </tr>
  4188.       <tr>
  4189.         <td id="L892" class="blob-num js-line-number" data-line-number="892"></td>
  4190.         <td id="LC892" class="blob-code js-file-line">          <span class="pl-c1">utils_write_file</span>(ac_info-&gt;config_file, data);</td>
  4191.       </tr>
  4192.       <tr>
  4193.         <td id="L893" class="blob-num js-line-number" data-line-number="893"></td>
  4194.         <td id="LC893" class="blob-code js-file-line">          <span class="pl-c1">g_free</span>(data);</td>
  4195.       </tr>
  4196.       <tr>
  4197.         <td id="L894" class="blob-num js-line-number" data-line-number="894"></td>
  4198.         <td id="LC894" class="blob-code js-file-line">  }</td>
  4199.       </tr>
  4200.       <tr>
  4201.         <td id="L895" class="blob-num js-line-number" data-line-number="895"></td>
  4202.         <td id="LC895" class="blob-code js-file-line">  <span class="pl-c1">g_free</span>(config_dir);</td>
  4203.       </tr>
  4204.       <tr>
  4205.         <td id="L896" class="blob-num js-line-number" data-line-number="896"></td>
  4206.         <td id="LC896" class="blob-code js-file-line">  <span class="pl-c1">g_key_file_free</span>(config);</td>
  4207.       </tr>
  4208.       <tr>
  4209.         <td id="L897" class="blob-num js-line-number" data-line-number="897"></td>
  4210.         <td id="LC897" class="blob-code js-file-line">}</td>
  4211.       </tr>
  4212.       <tr>
  4213.         <td id="L898" class="blob-num js-line-number" data-line-number="898"></td>
  4214.         <td id="LC898" class="blob-code js-file-line">
  4215. </td>
  4216.       </tr>
  4217.       <tr>
  4218.         <td id="L899" class="blob-num js-line-number" data-line-number="899"></td>
  4219.         <td id="LC899" class="blob-code js-file-line"><span class="pl-c">/* Called by Geany to initialize the plugin */</span></td>
  4220.       </tr>
  4221.       <tr>
  4222.         <td id="L900" class="blob-num js-line-number" data-line-number="900"></td>
  4223.         <td id="LC900" class="blob-code js-file-line"><span class="pl-k">void</span></td>
  4224.       </tr>
  4225.       <tr>
  4226.         <td id="L901" class="blob-num js-line-number" data-line-number="901"></td>
  4227.         <td id="LC901" class="blob-code js-file-line"><span class="pl-en">plugin_init</span>(G_GNUC_UNUSED GeanyData *data)</td>
  4228.       </tr>
  4229.       <tr>
  4230.         <td id="L902" class="blob-num js-line-number" data-line-number="902"></td>
  4231.         <td id="LC902" class="blob-code js-file-line">{</td>
  4232.       </tr>
  4233.       <tr>
  4234.         <td id="L903" class="blob-num js-line-number" data-line-number="903"></td>
  4235.         <td id="LC903" class="blob-code js-file-line">  guint i;</td>
  4236.       </tr>
  4237.       <tr>
  4238.         <td id="L904" class="blob-num js-line-number" data-line-number="904"></td>
  4239.         <td id="LC904" class="blob-code js-file-line">
  4240. </td>
  4241.       </tr>
  4242.       <tr>
  4243.         <td id="L905" class="blob-num js-line-number" data-line-number="905"></td>
  4244.         <td id="LC905" class="blob-code js-file-line">  <span class="pl-c1">foreach_document</span>(i)</td>
  4245.       </tr>
  4246.       <tr>
  4247.         <td id="L906" class="blob-num js-line-number" data-line-number="906"></td>
  4248.         <td id="LC906" class="blob-code js-file-line">  {</td>
  4249.       </tr>
  4250.       <tr>
  4251.         <td id="L907" class="blob-num js-line-number" data-line-number="907"></td>
  4252.         <td id="LC907" class="blob-code js-file-line">          <span class="pl-c1">on_document_open</span>(<span class="pl-c1">NULL</span>, documents[i], <span class="pl-c1">NULL</span>);</td>
  4253.       </tr>
  4254.       <tr>
  4255.         <td id="L908" class="blob-num js-line-number" data-line-number="908"></td>
  4256.         <td id="LC908" class="blob-code js-file-line">  }</td>
  4257.       </tr>
  4258.       <tr>
  4259.         <td id="L909" class="blob-num js-line-number" data-line-number="909"></td>
  4260.         <td id="LC909" class="blob-code js-file-line">  GKeyFile *config = <span class="pl-c1">g_key_file_new</span>();</td>
  4261.       </tr>
  4262.       <tr>
  4263.         <td id="L910" class="blob-num js-line-number" data-line-number="910"></td>
  4264.         <td id="LC910" class="blob-code js-file-line">
  4265. </td>
  4266.       </tr>
  4267.       <tr>
  4268.         <td id="L911" class="blob-num js-line-number" data-line-number="911"></td>
  4269.         <td id="LC911" class="blob-code js-file-line">  ac_info = <span class="pl-c1">g_new0</span>(AutocloseInfo, <span class="pl-c1">1</span>);</td>
  4270.       </tr>
  4271.       <tr>
  4272.         <td id="L912" class="blob-num js-line-number" data-line-number="912"></td>
  4273.         <td id="LC912" class="blob-code js-file-line">
  4274. </td>
  4275.       </tr>
  4276.       <tr>
  4277.         <td id="L913" class="blob-num js-line-number" data-line-number="913"></td>
  4278.         <td id="LC913" class="blob-code js-file-line">  ac_info-&gt;config_file = <span class="pl-c1">g_strconcat</span>(geany-&gt;app-&gt;configdir, G_DIR_SEPARATOR_S,</td>
  4279.       </tr>
  4280.       <tr>
  4281.         <td id="L914" class="blob-num js-line-number" data-line-number="914"></td>
  4282.         <td id="LC914" class="blob-code js-file-line">          <span class="pl-s"><span class="pl-pds">&quot;</span>plugins<span class="pl-pds">&quot;</span></span>, G_DIR_SEPARATOR_S, <span class="pl-s"><span class="pl-pds">&quot;</span>autoclose<span class="pl-pds">&quot;</span></span>, G_DIR_SEPARATOR_S, <span class="pl-s"><span class="pl-pds">&quot;</span>autoclose.conf<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">NULL</span>);</td>
  4283.       </tr>
  4284.       <tr>
  4285.         <td id="L915" class="blob-num js-line-number" data-line-number="915"></td>
  4286.         <td id="LC915" class="blob-code js-file-line">
  4287. </td>
  4288.       </tr>
  4289.       <tr>
  4290.         <td id="L916" class="blob-num js-line-number" data-line-number="916"></td>
  4291.         <td id="LC916" class="blob-code js-file-line">  <span class="pl-c1">g_key_file_load_from_file</span>(config, ac_info-&gt;config_file, G_KEY_FILE_NONE, <span class="pl-c1">NULL</span>);</td>
  4292.       </tr>
  4293.       <tr>
  4294.         <td id="L917" class="blob-num js-line-number" data-line-number="917"></td>
  4295.         <td id="LC917" class="blob-code js-file-line">
  4296. </td>
  4297.       </tr>
  4298.       <tr>
  4299.         <td id="L918" class="blob-num js-line-number" data-line-number="918"></td>
  4300.         <td id="LC918" class="blob-code js-file-line">#<span class="pl-k">define</span> <span class="pl-en">GET_CONF_BOOL</span>(<span class="pl-v">name, def</span>) ac_info-&gt;name = utils_get_setting_boolean(config, <span class="pl-s"><span class="pl-pds">&quot;</span>autoclose<span class="pl-pds">&quot;</span></span>, #name, def)</td>
  4301.       </tr>
  4302.       <tr>
  4303.         <td id="L919" class="blob-num js-line-number" data-line-number="919"></td>
  4304.         <td id="LC919" class="blob-code js-file-line">
  4305. </td>
  4306.       </tr>
  4307.       <tr>
  4308.         <td id="L920" class="blob-num js-line-number" data-line-number="920"></td>
  4309.         <td id="LC920" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(parenthesis, <span class="pl-c1">TRUE</span>);</td>
  4310.       </tr>
  4311.       <tr>
  4312.         <td id="L921" class="blob-num js-line-number" data-line-number="921"></td>
  4313.         <td id="LC921" class="blob-code js-file-line">  <span class="pl-c">/* Angular bracket conflicts with conditional statements, enable only for HTML by default */</span></td>
  4314.       </tr>
  4315.       <tr>
  4316.         <td id="L922" class="blob-num js-line-number" data-line-number="922"></td>
  4317.         <td id="LC922" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(abracket, <span class="pl-c1">TRUE</span>);</td>
  4318.       </tr>
  4319.       <tr>
  4320.         <td id="L923" class="blob-num js-line-number" data-line-number="923"></td>
  4321.         <td id="LC923" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(abracket_htmlonly, <span class="pl-c1">TRUE</span>);</td>
  4322.       </tr>
  4323.       <tr>
  4324.         <td id="L924" class="blob-num js-line-number" data-line-number="924"></td>
  4325.         <td id="LC924" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(cbracket, <span class="pl-c1">TRUE</span>);</td>
  4326.       </tr>
  4327.       <tr>
  4328.         <td id="L925" class="blob-num js-line-number" data-line-number="925"></td>
  4329.         <td id="LC925" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(sbracket, <span class="pl-c1">TRUE</span>);</td>
  4330.       </tr>
  4331.       <tr>
  4332.         <td id="L926" class="blob-num js-line-number" data-line-number="926"></td>
  4333.         <td id="LC926" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(dquote, <span class="pl-c1">TRUE</span>);</td>
  4334.       </tr>
  4335.       <tr>
  4336.         <td id="L927" class="blob-num js-line-number" data-line-number="927"></td>
  4337.         <td id="LC927" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(squote, <span class="pl-c1">TRUE</span>);</td>
  4338.       </tr>
  4339.       <tr>
  4340.         <td id="L928" class="blob-num js-line-number" data-line-number="928"></td>
  4341.         <td id="LC928" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(backquote, <span class="pl-c1">TRUE</span>);</td>
  4342.       </tr>
  4343.       <tr>
  4344.         <td id="L929" class="blob-num js-line-number" data-line-number="929"></td>
  4345.         <td id="LC929" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(backquote_bashonly, <span class="pl-c1">TRUE</span>);</td>
  4346.       </tr>
  4347.       <tr>
  4348.         <td id="L930" class="blob-num js-line-number" data-line-number="930"></td>
  4349.         <td id="LC930" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(comments_ac_enable, <span class="pl-c1">FALSE</span>);</td>
  4350.       </tr>
  4351.       <tr>
  4352.         <td id="L931" class="blob-num js-line-number" data-line-number="931"></td>
  4353.         <td id="LC931" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(delete_pairing_brace, <span class="pl-c1">TRUE</span>);</td>
  4354.       </tr>
  4355.       <tr>
  4356.         <td id="L932" class="blob-num js-line-number" data-line-number="932"></td>
  4357.         <td id="LC932" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(suppress_doubling, <span class="pl-c1">TRUE</span>);</td>
  4358.       </tr>
  4359.       <tr>
  4360.         <td id="L933" class="blob-num js-line-number" data-line-number="933"></td>
  4361.         <td id="LC933" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(enclose_selections, <span class="pl-c1">TRUE</span>);</td>
  4362.       </tr>
  4363.       <tr>
  4364.         <td id="L934" class="blob-num js-line-number" data-line-number="934"></td>
  4365.         <td id="LC934" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(comments_enclose, <span class="pl-c1">FALSE</span>);</td>
  4366.       </tr>
  4367.       <tr>
  4368.         <td id="L935" class="blob-num js-line-number" data-line-number="935"></td>
  4369.         <td id="LC935" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(keep_selection, <span class="pl-c1">TRUE</span>);</td>
  4370.       </tr>
  4371.       <tr>
  4372.         <td id="L936" class="blob-num js-line-number" data-line-number="936"></td>
  4373.         <td id="LC936" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(make_indent_for_cbracket, <span class="pl-c1">TRUE</span>);</td>
  4374.       </tr>
  4375.       <tr>
  4376.         <td id="L937" class="blob-num js-line-number" data-line-number="937"></td>
  4377.         <td id="LC937" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(move_cursor_to_beginning, <span class="pl-c1">TRUE</span>);</td>
  4378.       </tr>
  4379.       <tr>
  4380.         <td id="L938" class="blob-num js-line-number" data-line-number="938"></td>
  4381.         <td id="LC938" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(improved_cbracket_indent, <span class="pl-c1">TRUE</span>);</td>
  4382.       </tr>
  4383.       <tr>
  4384.         <td id="L939" class="blob-num js-line-number" data-line-number="939"></td>
  4385.         <td id="LC939" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(whitesmiths_style, <span class="pl-c1">FALSE</span>);</td>
  4386.       </tr>
  4387.       <tr>
  4388.         <td id="L940" class="blob-num js-line-number" data-line-number="940"></td>
  4389.         <td id="LC940" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(close_functions, <span class="pl-c1">TRUE</span>);</td>
  4390.       </tr>
  4391.       <tr>
  4392.         <td id="L941" class="blob-num js-line-number" data-line-number="941"></td>
  4393.         <td id="LC941" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(bcksp_remove_pair, <span class="pl-c1">FALSE</span>);</td>
  4394.       </tr>
  4395.       <tr>
  4396.         <td id="L942" class="blob-num js-line-number" data-line-number="942"></td>
  4397.         <td id="LC942" class="blob-code js-file-line">  <span class="pl-c1">GET_CONF_BOOL</span>(jump_on_tab, <span class="pl-c1">TRUE</span>);</td>
  4398.       </tr>
  4399.       <tr>
  4400.         <td id="L943" class="blob-num js-line-number" data-line-number="943"></td>
  4401.         <td id="LC943" class="blob-code js-file-line">
  4402. </td>
  4403.       </tr>
  4404.       <tr>
  4405.         <td id="L944" class="blob-num js-line-number" data-line-number="944"></td>
  4406.         <td id="LC944" class="blob-code js-file-line">#<span class="pl-k">undef</span> GET_CONF_BOOL</td>
  4407.       </tr>
  4408.       <tr>
  4409.         <td id="L945" class="blob-num js-line-number" data-line-number="945"></td>
  4410.         <td id="LC945" class="blob-code js-file-line">
  4411. </td>
  4412.       </tr>
  4413.       <tr>
  4414.         <td id="L946" class="blob-num js-line-number" data-line-number="946"></td>
  4415.         <td id="LC946" class="blob-code js-file-line">  <span class="pl-c1">g_key_file_free</span>(config);</td>
  4416.       </tr>
  4417.       <tr>
  4418.         <td id="L947" class="blob-num js-line-number" data-line-number="947"></td>
  4419.         <td id="LC947" class="blob-code js-file-line">}</td>
  4420.       </tr>
  4421.       <tr>
  4422.         <td id="L948" class="blob-num js-line-number" data-line-number="948"></td>
  4423.         <td id="LC948" class="blob-code js-file-line">
  4424. </td>
  4425.       </tr>
  4426.       <tr>
  4427.         <td id="L949" class="blob-num js-line-number" data-line-number="949"></td>
  4428.         <td id="LC949" class="blob-code js-file-line">#<span class="pl-k">define</span> <span class="pl-en">GET_CHECKBOX_ACTIVE</span>(<span class="pl-v">name</span>) gboolean sens = gtk_toggle_button_get_active(\</td>
  4429.       </tr>
  4430.       <tr>
  4431.         <td id="L950" class="blob-num js-line-number" data-line-number="950"></td>
  4432.         <td id="LC950" class="blob-code js-file-line">           <span class="pl-en">GTK_TOGGLE_BUTTON</span>(g_object_get_data(G_OBJECT(data), &quot;check_&quot; #name)))</td>
  4433.       </tr>
  4434.       <tr>
  4435.         <td id="L951" class="blob-num js-line-number" data-line-number="951"></td>
  4436.         <td id="LC951" class="blob-code js-file-line">
  4437. </td>
  4438.       </tr>
  4439.       <tr>
  4440.         <td id="L952" class="blob-num js-line-number" data-line-number="952"></td>
  4441.         <td id="LC952" class="blob-code js-file-line">#<span class="pl-k">define</span> <span class="pl-en">SET_SENS</span>(<span class="pl-v">name</span>) gtk_widget_set_sensitive(                               \</td>
  4442.       </tr>
  4443.       <tr>
  4444.         <td id="L953" class="blob-num js-line-number" data-line-number="953"></td>
  4445.         <td id="LC953" class="blob-code js-file-line">                        <span class="pl-en">g_object_get_data</span>(G_OBJECT(data), &quot;check_&quot; #name), sens)</td>
  4446.       </tr>
  4447.       <tr>
  4448.         <td id="L954" class="blob-num js-line-number" data-line-number="954"></td>
  4449.         <td id="LC954" class="blob-code js-file-line">
  4450. </td>
  4451.       </tr>
  4452.       <tr>
  4453.         <td id="L955" class="blob-num js-line-number" data-line-number="955"></td>
  4454.         <td id="LC955" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  4455.       </tr>
  4456.       <tr>
  4457.         <td id="L956" class="blob-num js-line-number" data-line-number="956"></td>
  4458.         <td id="LC956" class="blob-code js-file-line"><span class="pl-en">ac_make_indent_for_cbracket_cb</span>(GtkToggleButton *togglebutton, gpointer data)</td>
  4459.       </tr>
  4460.       <tr>
  4461.         <td id="L957" class="blob-num js-line-number" data-line-number="957"></td>
  4462.         <td id="LC957" class="blob-code js-file-line">{</td>
  4463.       </tr>
  4464.       <tr>
  4465.         <td id="L958" class="blob-num js-line-number" data-line-number="958"></td>
  4466.         <td id="LC958" class="blob-code js-file-line">  <span class="pl-c1">GET_CHECKBOX_ACTIVE</span>(make_indent_for_cbracket);</td>
  4467.       </tr>
  4468.       <tr>
  4469.         <td id="L959" class="blob-num js-line-number" data-line-number="959"></td>
  4470.         <td id="LC959" class="blob-code js-file-line">  <span class="pl-c1">SET_SENS</span>(move_cursor_to_beginning);</td>
  4471.       </tr>
  4472.       <tr>
  4473.         <td id="L960" class="blob-num js-line-number" data-line-number="960"></td>
  4474.         <td id="LC960" class="blob-code js-file-line">}</td>
  4475.       </tr>
  4476.       <tr>
  4477.         <td id="L961" class="blob-num js-line-number" data-line-number="961"></td>
  4478.         <td id="LC961" class="blob-code js-file-line">
  4479. </td>
  4480.       </tr>
  4481.       <tr>
  4482.         <td id="L962" class="blob-num js-line-number" data-line-number="962"></td>
  4483.         <td id="LC962" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  4484.       </tr>
  4485.       <tr>
  4486.         <td id="L963" class="blob-num js-line-number" data-line-number="963"></td>
  4487.         <td id="LC963" class="blob-code js-file-line"><span class="pl-en">ac_parenthesis_cb</span>(GtkToggleButton *togglebutton, gpointer data)</td>
  4488.       </tr>
  4489.       <tr>
  4490.         <td id="L964" class="blob-num js-line-number" data-line-number="964"></td>
  4491.         <td id="LC964" class="blob-code js-file-line">{</td>
  4492.       </tr>
  4493.       <tr>
  4494.         <td id="L965" class="blob-num js-line-number" data-line-number="965"></td>
  4495.         <td id="LC965" class="blob-code js-file-line">  <span class="pl-c1">GET_CHECKBOX_ACTIVE</span>(parenthesis);</td>
  4496.       </tr>
  4497.       <tr>
  4498.         <td id="L966" class="blob-num js-line-number" data-line-number="966"></td>
  4499.         <td id="LC966" class="blob-code js-file-line">  <span class="pl-c1">SET_SENS</span>(close_functions);</td>
  4500.       </tr>
  4501.       <tr>
  4502.         <td id="L967" class="blob-num js-line-number" data-line-number="967"></td>
  4503.         <td id="LC967" class="blob-code js-file-line">}</td>
  4504.       </tr>
  4505.       <tr>
  4506.         <td id="L968" class="blob-num js-line-number" data-line-number="968"></td>
  4507.         <td id="LC968" class="blob-code js-file-line">
  4508. </td>
  4509.       </tr>
  4510.       <tr>
  4511.         <td id="L969" class="blob-num js-line-number" data-line-number="969"></td>
  4512.         <td id="LC969" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  4513.       </tr>
  4514.       <tr>
  4515.         <td id="L970" class="blob-num js-line-number" data-line-number="970"></td>
  4516.         <td id="LC970" class="blob-code js-file-line"><span class="pl-en">ac_cbracket_cb</span>(GtkToggleButton *togglebutton, gpointer data)</td>
  4517.       </tr>
  4518.       <tr>
  4519.         <td id="L971" class="blob-num js-line-number" data-line-number="971"></td>
  4520.         <td id="LC971" class="blob-code js-file-line">{</td>
  4521.       </tr>
  4522.       <tr>
  4523.         <td id="L972" class="blob-num js-line-number" data-line-number="972"></td>
  4524.         <td id="LC972" class="blob-code js-file-line">  <span class="pl-c1">GET_CHECKBOX_ACTIVE</span>(cbracket);</td>
  4525.       </tr>
  4526.       <tr>
  4527.         <td id="L973" class="blob-num js-line-number" data-line-number="973"></td>
  4528.         <td id="LC973" class="blob-code js-file-line">  <span class="pl-c1">SET_SENS</span>(make_indent_for_cbracket);</td>
  4529.       </tr>
  4530.       <tr>
  4531.         <td id="L974" class="blob-num js-line-number" data-line-number="974"></td>
  4532.         <td id="LC974" class="blob-code js-file-line">  <span class="pl-c1">SET_SENS</span>(move_cursor_to_beginning);</td>
  4533.       </tr>
  4534.       <tr>
  4535.         <td id="L975" class="blob-num js-line-number" data-line-number="975"></td>
  4536.         <td id="LC975" class="blob-code js-file-line">}</td>
  4537.       </tr>
  4538.       <tr>
  4539.         <td id="L976" class="blob-num js-line-number" data-line-number="976"></td>
  4540.         <td id="LC976" class="blob-code js-file-line">
  4541. </td>
  4542.       </tr>
  4543.       <tr>
  4544.         <td id="L977" class="blob-num js-line-number" data-line-number="977"></td>
  4545.         <td id="LC977" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  4546.       </tr>
  4547.       <tr>
  4548.         <td id="L978" class="blob-num js-line-number" data-line-number="978"></td>
  4549.         <td id="LC978" class="blob-code js-file-line"><span class="pl-en">ac_abracket_htmlonly_cb</span>(GtkToggleButton *togglebutton, gpointer data)</td>
  4550.       </tr>
  4551.       <tr>
  4552.         <td id="L979" class="blob-num js-line-number" data-line-number="979"></td>
  4553.         <td id="LC979" class="blob-code js-file-line">{</td>
  4554.       </tr>
  4555.       <tr>
  4556.         <td id="L980" class="blob-num js-line-number" data-line-number="980"></td>
  4557.         <td id="LC980" class="blob-code js-file-line">  <span class="pl-c1">GET_CHECKBOX_ACTIVE</span>(abracket);</td>
  4558.       </tr>
  4559.       <tr>
  4560.         <td id="L981" class="blob-num js-line-number" data-line-number="981"></td>
  4561.         <td id="LC981" class="blob-code js-file-line">  <span class="pl-c1">SET_SENS</span>(abracket_htmlonly);</td>
  4562.       </tr>
  4563.       <tr>
  4564.         <td id="L982" class="blob-num js-line-number" data-line-number="982"></td>
  4565.         <td id="LC982" class="blob-code js-file-line">}</td>
  4566.       </tr>
  4567.       <tr>
  4568.         <td id="L983" class="blob-num js-line-number" data-line-number="983"></td>
  4569.         <td id="LC983" class="blob-code js-file-line">
  4570. </td>
  4571.       </tr>
  4572.       <tr>
  4573.         <td id="L984" class="blob-num js-line-number" data-line-number="984"></td>
  4574.         <td id="LC984" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  4575.       </tr>
  4576.       <tr>
  4577.         <td id="L985" class="blob-num js-line-number" data-line-number="985"></td>
  4578.         <td id="LC985" class="blob-code js-file-line"><span class="pl-en">ac_backquote_bashonly_cb</span>(GtkToggleButton *togglebutton, gpointer data)</td>
  4579.       </tr>
  4580.       <tr>
  4581.         <td id="L986" class="blob-num js-line-number" data-line-number="986"></td>
  4582.         <td id="LC986" class="blob-code js-file-line">{</td>
  4583.       </tr>
  4584.       <tr>
  4585.         <td id="L987" class="blob-num js-line-number" data-line-number="987"></td>
  4586.         <td id="LC987" class="blob-code js-file-line">  <span class="pl-c1">GET_CHECKBOX_ACTIVE</span>(backquote);</td>
  4587.       </tr>
  4588.       <tr>
  4589.         <td id="L988" class="blob-num js-line-number" data-line-number="988"></td>
  4590.         <td id="LC988" class="blob-code js-file-line">  <span class="pl-c1">SET_SENS</span>(backquote_bashonly);</td>
  4591.       </tr>
  4592.       <tr>
  4593.         <td id="L989" class="blob-num js-line-number" data-line-number="989"></td>
  4594.         <td id="LC989" class="blob-code js-file-line">}</td>
  4595.       </tr>
  4596.       <tr>
  4597.         <td id="L990" class="blob-num js-line-number" data-line-number="990"></td>
  4598.         <td id="LC990" class="blob-code js-file-line">
  4599. </td>
  4600.       </tr>
  4601.       <tr>
  4602.         <td id="L991" class="blob-num js-line-number" data-line-number="991"></td>
  4603.         <td id="LC991" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  4604.       </tr>
  4605.       <tr>
  4606.         <td id="L992" class="blob-num js-line-number" data-line-number="992"></td>
  4607.         <td id="LC992" class="blob-code js-file-line"><span class="pl-en">ac_enclose_selections_cb</span>(GtkToggleButton *togglebutton, gpointer data)</td>
  4608.       </tr>
  4609.       <tr>
  4610.         <td id="L993" class="blob-num js-line-number" data-line-number="993"></td>
  4611.         <td id="LC993" class="blob-code js-file-line">{</td>
  4612.       </tr>
  4613.       <tr>
  4614.         <td id="L994" class="blob-num js-line-number" data-line-number="994"></td>
  4615.         <td id="LC994" class="blob-code js-file-line">  <span class="pl-c1">GET_CHECKBOX_ACTIVE</span>(enclose_selections);</td>
  4616.       </tr>
  4617.       <tr>
  4618.         <td id="L995" class="blob-num js-line-number" data-line-number="995"></td>
  4619.         <td id="LC995" class="blob-code js-file-line">  <span class="pl-c1">SET_SENS</span>(keep_selection);</td>
  4620.       </tr>
  4621.       <tr>
  4622.         <td id="L996" class="blob-num js-line-number" data-line-number="996"></td>
  4623.         <td id="LC996" class="blob-code js-file-line">  <span class="pl-c1">SET_SENS</span>(comments_enclose);</td>
  4624.       </tr>
  4625.       <tr>
  4626.         <td id="L997" class="blob-num js-line-number" data-line-number="997"></td>
  4627.         <td id="LC997" class="blob-code js-file-line">}</td>
  4628.       </tr>
  4629.       <tr>
  4630.         <td id="L998" class="blob-num js-line-number" data-line-number="998"></td>
  4631.         <td id="LC998" class="blob-code js-file-line">
  4632. </td>
  4633.       </tr>
  4634.       <tr>
  4635.         <td id="L999" class="blob-num js-line-number" data-line-number="999"></td>
  4636.         <td id="LC999" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  4637.       </tr>
  4638.       <tr>
  4639.         <td id="L1000" class="blob-num js-line-number" data-line-number="1000"></td>
  4640.         <td id="LC1000" class="blob-code js-file-line"><span class="pl-en">ac_delete_pairing_brace_cb</span>(GtkToggleButton *togglebutton, gpointer data)</td>
  4641.       </tr>
  4642.       <tr>
  4643.         <td id="L1001" class="blob-num js-line-number" data-line-number="1001"></td>
  4644.         <td id="LC1001" class="blob-code js-file-line">{</td>
  4645.       </tr>
  4646.       <tr>
  4647.         <td id="L1002" class="blob-num js-line-number" data-line-number="1002"></td>
  4648.         <td id="LC1002" class="blob-code js-file-line"> <span class="pl-c1">GET_CHECKBOX_ACTIVE</span>(delete_pairing_brace);</td>
  4649.       </tr>
  4650.       <tr>
  4651.         <td id="L1003" class="blob-num js-line-number" data-line-number="1003"></td>
  4652.         <td id="LC1003" class="blob-code js-file-line"> <span class="pl-c1">SET_SENS</span>(bcksp_remove_pair);</td>
  4653.       </tr>
  4654.       <tr>
  4655.         <td id="L1004" class="blob-num js-line-number" data-line-number="1004"></td>
  4656.         <td id="LC1004" class="blob-code js-file-line">}</td>
  4657.       </tr>
  4658.       <tr>
  4659.         <td id="L1005" class="blob-num js-line-number" data-line-number="1005"></td>
  4660.         <td id="LC1005" class="blob-code js-file-line">
  4661. </td>
  4662.       </tr>
  4663.       <tr>
  4664.         <td id="L1006" class="blob-num js-line-number" data-line-number="1006"></td>
  4665.         <td id="LC1006" class="blob-code js-file-line">GtkWidget *</td>
  4666.       </tr>
  4667.       <tr>
  4668.         <td id="L1007" class="blob-num js-line-number" data-line-number="1007"></td>
  4669.         <td id="LC1007" class="blob-code js-file-line"><span class="pl-en">plugin_configure</span>(GtkDialog *dialog)</td>
  4670.       </tr>
  4671.       <tr>
  4672.         <td id="L1008" class="blob-num js-line-number" data-line-number="1008"></td>
  4673.         <td id="LC1008" class="blob-code js-file-line">{</td>
  4674.       </tr>
  4675.       <tr>
  4676.         <td id="L1009" class="blob-num js-line-number" data-line-number="1009"></td>
  4677.         <td id="LC1009" class="blob-code js-file-line"> GtkWidget *widget, *vbox, *frame, *container, *scrollbox;</td>
  4678.       </tr>
  4679.       <tr>
  4680.         <td id="L1010" class="blob-num js-line-number" data-line-number="1010"></td>
  4681.         <td id="LC1010" class="blob-code js-file-line"> vbox = <span class="pl-c1">gtk_vbox_new</span>(<span class="pl-c1">FALSE</span>, <span class="pl-c1">0</span>);</td>
  4682.       </tr>
  4683.       <tr>
  4684.         <td id="L1011" class="blob-num js-line-number" data-line-number="1011"></td>
  4685.         <td id="LC1011" class="blob-code js-file-line"> scrollbox = <span class="pl-c1">gtk_scrolled_window_new</span>(<span class="pl-c1">NULL</span>, <span class="pl-c1">NULL</span>);</td>
  4686.       </tr>
  4687.       <tr>
  4688.         <td id="L1012" class="blob-num js-line-number" data-line-number="1012"></td>
  4689.         <td id="LC1012" class="blob-code js-file-line"> <span class="pl-c1">gtk_widget_set_size_request</span>(<span class="pl-c1">GTK_WIDGET</span>(scrollbox), <span class="pl-c1">350</span>, <span class="pl-c1">400</span>);</td>
  4690.       </tr>
  4691.       <tr>
  4692.         <td id="L1013" class="blob-num js-line-number" data-line-number="1013"></td>
  4693.         <td id="LC1013" class="blob-code js-file-line"> <span class="pl-c1">gtk_scrolled_window_add_with_viewport</span>(<span class="pl-c1">GTK_SCROLLED_WINDOW</span>(scrollbox), vbox);</td>
  4694.       </tr>
  4695.       <tr>
  4696.         <td id="L1014" class="blob-num js-line-number" data-line-number="1014"></td>
  4697.         <td id="LC1014" class="blob-code js-file-line"> <span class="pl-c1">gtk_scrolled_window_set_policy</span>(<span class="pl-c1">GTK_SCROLLED_WINDOW</span>(scrollbox),</td>
  4698.       </tr>
  4699.       <tr>
  4700.         <td id="L1015" class="blob-num js-line-number" data-line-number="1015"></td>
  4701.         <td id="LC1015" class="blob-code js-file-line">         GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);</td>
  4702.       </tr>
  4703.       <tr>
  4704.         <td id="L1016" class="blob-num js-line-number" data-line-number="1016"></td>
  4705.         <td id="LC1016" class="blob-code js-file-line">
  4706. </td>
  4707.       </tr>
  4708.       <tr>
  4709.         <td id="L1017" class="blob-num js-line-number" data-line-number="1017"></td>
  4710.         <td id="LC1017" class="blob-code js-file-line">#<span class="pl-k">define</span> <span class="pl-en">WIDGET_FRAME</span>(<span class="pl-v">description</span>) G_STMT_START {                               \</td>
  4711.       </tr>
  4712.       <tr>
  4713.         <td id="L1018" class="blob-num js-line-number" data-line-number="1018"></td>
  4714.         <td id="LC1018" class="blob-code js-file-line">    container = <span class="pl-c1">gtk_vbox_new</span>(<span class="pl-c1">FALSE</span>, <span class="pl-c1">0</span>);                                        \</td>
  4715.       </tr>
  4716.       <tr>
  4717.         <td id="L1019" class="blob-num js-line-number" data-line-number="1019"></td>
  4718.         <td id="LC1019" class="blob-code js-file-line">    frame = <span class="pl-c1">gtk_frame_new</span>(<span class="pl-c1">NULL</span>);                                               \</td>
  4719.       </tr>
  4720.       <tr>
  4721.         <td id="L1020" class="blob-num js-line-number" data-line-number="1020"></td>
  4722.         <td id="LC1020" class="blob-code js-file-line">    <span class="pl-c1">gtk_frame_set_label</span>(<span class="pl-c1">GTK_FRAME</span>(frame), description);                        \</td>
  4723.       </tr>
  4724.       <tr>
  4725.         <td id="L1021" class="blob-num js-line-number" data-line-number="1021"></td>
  4726.         <td id="LC1021" class="blob-code js-file-line">    <span class="pl-c1">gtk_container_add</span>(<span class="pl-c1">GTK_CONTAINER</span>(frame), container);                        \</td>
  4727.       </tr>
  4728.       <tr>
  4729.         <td id="L1022" class="blob-num js-line-number" data-line-number="1022"></td>
  4730.         <td id="LC1022" class="blob-code js-file-line">    <span class="pl-c1">gtk_box_pack_start</span>(<span class="pl-c1">GTK_BOX</span>(vbox), frame, <span class="pl-c1">FALSE</span>, <span class="pl-c1">FALSE</span>, <span class="pl-c1">3</span>);                 \</td>
  4731.       </tr>
  4732.       <tr>
  4733.         <td id="L1023" class="blob-num js-line-number" data-line-number="1023"></td>
  4734.         <td id="LC1023" class="blob-code js-file-line">} G_STMT_END</td>
  4735.       </tr>
  4736.       <tr>
  4737.         <td id="L1024" class="blob-num js-line-number" data-line-number="1024"></td>
  4738.         <td id="LC1024" class="blob-code js-file-line">
  4739. </td>
  4740.       </tr>
  4741.       <tr>
  4742.         <td id="L1025" class="blob-num js-line-number" data-line-number="1025"></td>
  4743.         <td id="LC1025" class="blob-code js-file-line">#<span class="pl-k">define</span> <span class="pl-en">WIDGET_CONF_BOOL</span>(<span class="pl-v">name, description, tooltip</span>) G_STMT_START {            \</td>
  4744.       </tr>
  4745.       <tr>
  4746.         <td id="L1026" class="blob-num js-line-number" data-line-number="1026"></td>
  4747.         <td id="LC1026" class="blob-code js-file-line">    widget = <span class="pl-c1">gtk_check_button_new_with_label</span>(description);                     \</td>
  4748.       </tr>
  4749.       <tr>
  4750.         <td id="L1027" class="blob-num js-line-number" data-line-number="1027"></td>
  4751.         <td id="LC1027" class="blob-code js-file-line">    <span class="pl-k">if</span> (tooltip) <span class="pl-c1">gtk_widget_set_tooltip_text</span>(widget, tooltip);                 \</td>
  4752.       </tr>
  4753.       <tr>
  4754.         <td id="L1028" class="blob-num js-line-number" data-line-number="1028"></td>
  4755.         <td id="LC1028" class="blob-code js-file-line">    <span class="pl-c1">gtk_toggle_button_set_active</span>(<span class="pl-c1">GTK_TOGGLE_BUTTON</span>(widget), ac_info-&gt;name);    \</td>
  4756.       </tr>
  4757.       <tr>
  4758.         <td id="L1029" class="blob-num js-line-number" data-line-number="1029"></td>
  4759.         <td id="LC1029" class="blob-code js-file-line">    <span class="pl-c1">gtk_box_pack_start</span>(<span class="pl-c1">GTK_BOX</span>(container), widget, <span class="pl-c1">FALSE</span>, <span class="pl-c1">FALSE</span>, <span class="pl-c1">3</span>);           \</td>
  4760.       </tr>
  4761.       <tr>
  4762.         <td id="L1030" class="blob-num js-line-number" data-line-number="1030"></td>
  4763.         <td id="LC1030" class="blob-code js-file-line">    <span class="pl-c1">g_object_set_data</span>(<span class="pl-c1">G_OBJECT</span>(dialog), <span class="pl-s"><span class="pl-pds">&quot;</span>check_<span class="pl-pds">&quot;</span></span> #name, widget);               \</td>
  4764.       </tr>
  4765.       <tr>
  4766.         <td id="L1031" class="blob-num js-line-number" data-line-number="1031"></td>
  4767.         <td id="LC1031" class="blob-code js-file-line">} G_STMT_END</td>
  4768.       </tr>
  4769.       <tr>
  4770.         <td id="L1032" class="blob-num js-line-number" data-line-number="1032"></td>
  4771.         <td id="LC1032" class="blob-code js-file-line">
  4772. </td>
  4773.       </tr>
  4774.       <tr>
  4775.         <td id="L1033" class="blob-num js-line-number" data-line-number="1033"></td>
  4776.         <td id="LC1033" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_FRAME</span>(<span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close quotes and brackets<span class="pl-pds">&quot;</span></span>));</td>
  4777.       </tr>
  4778.       <tr>
  4779.         <td id="L1034" class="blob-num js-line-number" data-line-number="1034"></td>
  4780.         <td id="LC1034" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(parenthesis, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Parenthesis ( )<span class="pl-pds">&quot;</span></span>),</td>
  4781.       </tr>
  4782.       <tr>
  4783.         <td id="L1035" class="blob-num js-line-number" data-line-number="1035"></td>
  4784.         <td id="LC1035" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close parenthesis <span class="pl-cce">\&quot;</span>(<span class="pl-cce">\&quot;</span> -&gt; <span class="pl-cce">\&quot;</span>(|)<span class="pl-cce">\&quot;</span><span class="pl-pds">&quot;</span></span>));</td>
  4785.       </tr>
  4786.       <tr>
  4787.         <td id="L1036" class="blob-num js-line-number" data-line-number="1036"></td>
  4788.         <td id="LC1036" class="blob-code js-file-line"> <span class="pl-c1">g_signal_connect</span>(widget, <span class="pl-s"><span class="pl-pds">&quot;</span>toggled<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">G_CALLBACK</span>(ac_parenthesis_cb), dialog);</td>
  4789.       </tr>
  4790.       <tr>
  4791.         <td id="L1037" class="blob-num js-line-number" data-line-number="1037"></td>
  4792.         <td id="LC1037" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(cbracket, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Curly brackets { }<span class="pl-pds">&quot;</span></span>),</td>
  4793.       </tr>
  4794.       <tr>
  4795.         <td id="L1038" class="blob-num js-line-number" data-line-number="1038"></td>
  4796.         <td id="LC1038" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close curly brackets <span class="pl-cce">\&quot;</span>{<span class="pl-cce">\&quot;</span> -&gt; <span class="pl-cce">\&quot;</span>{|}<span class="pl-cce">\&quot;</span><span class="pl-pds">&quot;</span></span>));</td>
  4797.       </tr>
  4798.       <tr>
  4799.         <td id="L1039" class="blob-num js-line-number" data-line-number="1039"></td>
  4800.         <td id="LC1039" class="blob-code js-file-line"> <span class="pl-c1">g_signal_connect</span>(widget, <span class="pl-s"><span class="pl-pds">&quot;</span>toggled<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">G_CALLBACK</span>(ac_cbracket_cb), dialog);</td>
  4801.       </tr>
  4802.       <tr>
  4803.         <td id="L1040" class="blob-num js-line-number" data-line-number="1040"></td>
  4804.         <td id="LC1040" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(sbracket, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Square brackets [ ]<span class="pl-pds">&quot;</span></span>),</td>
  4805.       </tr>
  4806.       <tr>
  4807.         <td id="L1041" class="blob-num js-line-number" data-line-number="1041"></td>
  4808.         <td id="LC1041" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close square brackets <span class="pl-cce">\&quot;</span>[<span class="pl-cce">\&quot;</span> -&gt; <span class="pl-cce">\&quot;</span>[|]<span class="pl-cce">\&quot;</span><span class="pl-pds">&quot;</span></span>));</td>
  4809.       </tr>
  4810.       <tr>
  4811.         <td id="L1042" class="blob-num js-line-number" data-line-number="1042"></td>
  4812.         <td id="LC1042" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(abracket, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Angular brackets &lt; &gt;<span class="pl-pds">&quot;</span></span>),</td>
  4813.       </tr>
  4814.       <tr>
  4815.         <td id="L1043" class="blob-num js-line-number" data-line-number="1043"></td>
  4816.         <td id="LC1043" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close angular brackets <span class="pl-cce">\&quot;</span>&lt;<span class="pl-cce">\&quot;</span> -&gt; <span class="pl-cce">\&quot;</span>&lt;|&gt;<span class="pl-cce">\&quot;</span><span class="pl-pds">&quot;</span></span>));</td>
  4817.       </tr>
  4818.       <tr>
  4819.         <td id="L1044" class="blob-num js-line-number" data-line-number="1044"></td>
  4820.         <td id="LC1044" class="blob-code js-file-line"> <span class="pl-c1">g_signal_connect</span>(widget, <span class="pl-s"><span class="pl-pds">&quot;</span>toggled<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">G_CALLBACK</span>(ac_abracket_htmlonly_cb), dialog);</td>
  4821.       </tr>
  4822.       <tr>
  4823.         <td id="L1045" class="blob-num js-line-number" data-line-number="1045"></td>
  4824.         <td id="LC1045" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(abracket_htmlonly, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-cce">\t</span>Only for HTML<span class="pl-pds">&quot;</span></span>),</td>
  4825.       </tr>
  4826.       <tr>
  4827.         <td id="L1046" class="blob-num js-line-number" data-line-number="1046"></td>
  4828.         <td id="LC1046" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close angular brackets only in HTML documents<span class="pl-pds">&quot;</span></span>));</td>
  4829.       </tr>
  4830.       <tr>
  4831.         <td id="L1047" class="blob-num js-line-number" data-line-number="1047"></td>
  4832.         <td id="LC1047" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(dquote, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Double quotes <span class="pl-cce">\&quot;</span> <span class="pl-cce">\&quot;</span><span class="pl-pds">&quot;</span></span>),</td>
  4833.       </tr>
  4834.       <tr>
  4835.         <td id="L1048" class="blob-num js-line-number" data-line-number="1048"></td>
  4836.         <td id="LC1048" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close double quotes <span class="pl-cce">\&quot;</span> -&gt; <span class="pl-cce">\&quot;</span>|<span class="pl-cce">\&quot;</span><span class="pl-pds">&quot;</span></span>));</td>
  4837.       </tr>
  4838.       <tr>
  4839.         <td id="L1049" class="blob-num js-line-number" data-line-number="1049"></td>
  4840.         <td id="LC1049" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(squote, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Single quotes <span class="pl-cce">\&#39;</span> <span class="pl-cce">\&#39;</span><span class="pl-pds">&quot;</span></span>),</td>
  4841.       </tr>
  4842.       <tr>
  4843.         <td id="L1050" class="blob-num js-line-number" data-line-number="1050"></td>
  4844.         <td id="LC1050" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close single quotes &#39; -&gt; &#39;|&#39;<span class="pl-pds">&quot;</span></span>));</td>
  4845.       </tr>
  4846.       <tr>
  4847.         <td id="L1051" class="blob-num js-line-number" data-line-number="1051"></td>
  4848.         <td id="LC1051" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(backquote, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Backquote ` `<span class="pl-pds">&quot;</span></span>),</td>
  4849.       </tr>
  4850.       <tr>
  4851.         <td id="L1052" class="blob-num js-line-number" data-line-number="1052"></td>
  4852.         <td id="LC1052" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close backquote ` -&gt; `|`<span class="pl-pds">&quot;</span></span>));</td>
  4853.       </tr>
  4854.       <tr>
  4855.         <td id="L1053" class="blob-num js-line-number" data-line-number="1053"></td>
  4856.         <td id="LC1053" class="blob-code js-file-line"> <span class="pl-c1">g_signal_connect</span>(widget, <span class="pl-s"><span class="pl-pds">&quot;</span>toggled<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">G_CALLBACK</span>(ac_backquote_bashonly_cb), dialog);</td>
  4857.       </tr>
  4858.       <tr>
  4859.         <td id="L1054" class="blob-num js-line-number" data-line-number="1054"></td>
  4860.         <td id="LC1054" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(backquote_bashonly, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-cce">\t</span>Only for Shell-scripts (Bash)<span class="pl-pds">&quot;</span></span>),</td>
  4861.       </tr>
  4862.       <tr>
  4863.         <td id="L1055" class="blob-num js-line-number" data-line-number="1055"></td>
  4864.         <td id="LC1055" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-close backquote only in Shell-scripts like Bash<span class="pl-pds">&quot;</span></span>));</td>
  4865.       </tr>
  4866.       <tr>
  4867.         <td id="L1056" class="blob-num js-line-number" data-line-number="1056"></td>
  4868.         <td id="LC1056" class="blob-code js-file-line">
  4869. </td>
  4870.       </tr>
  4871.       <tr>
  4872.         <td id="L1057" class="blob-num js-line-number" data-line-number="1057"></td>
  4873.         <td id="LC1057" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_FRAME</span>(<span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Improve curly brackets completion<span class="pl-pds">&quot;</span></span>));</td>
  4874.       </tr>
  4875.       <tr>
  4876.         <td id="L1058" class="blob-num js-line-number" data-line-number="1058"></td>
  4877.         <td id="LC1058" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(make_indent_for_cbracket, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Indent when enclosing<span class="pl-pds">&quot;</span></span>),</td>
  4878.       </tr>
  4879.       <tr>
  4880.         <td id="L1059" class="blob-num js-line-number" data-line-number="1059"></td>
  4881.         <td id="LC1059" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>If you select some text and press <span class="pl-cce">\&quot;</span>{<span class="pl-cce">\&quot;</span> or <span class="pl-cce">\&quot;</span>}<span class="pl-cce">\&quot;</span>, plugin <span class="pl-pds">&quot;</span></span></td>
  4882.       </tr>
  4883.       <tr>
  4884.         <td id="L1060" class="blob-num js-line-number" data-line-number="1060"></td>
  4885.         <td id="LC1060" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>will auto-close selected lines and make new block with indent.<span class="pl-pds">&quot;</span></span></td>
  4886.       </tr>
  4887.       <tr>
  4888.         <td id="L1061" class="blob-num js-line-number" data-line-number="1061"></td>
  4889.         <td id="LC1061" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-cce">\n</span>You do not need to select block precisely - block enclosing <span class="pl-pds">&quot;</span></span></td>
  4890.       </tr>
  4891.       <tr>
  4892.         <td id="L1062" class="blob-num js-line-number" data-line-number="1062"></td>
  4893.         <td id="LC1062" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>takes into account only lines.<span class="pl-pds">&quot;</span></span>));</td>
  4894.       </tr>
  4895.       <tr>
  4896.         <td id="L1063" class="blob-num js-line-number" data-line-number="1063"></td>
  4897.         <td id="LC1063" class="blob-code js-file-line"> <span class="pl-c1">g_signal_connect</span>(widget, <span class="pl-s"><span class="pl-pds">&quot;</span>toggled<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">G_CALLBACK</span>(ac_make_indent_for_cbracket_cb), dialog);</td>
  4898.       </tr>
  4899.       <tr>
  4900.         <td id="L1064" class="blob-num js-line-number" data-line-number="1064"></td>
  4901.         <td id="LC1064" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(move_cursor_to_beginning, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Move cursor to beginning<span class="pl-pds">&quot;</span></span>),</td>
  4902.       </tr>
  4903.       <tr>
  4904.         <td id="L1065" class="blob-num js-line-number" data-line-number="1065"></td>
  4905.         <td id="LC1065" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>If you checked <span class="pl-cce">\&quot;</span>Indent when enclosing<span class="pl-cce">\&quot;</span>, moving cursor <span class="pl-pds">&quot;</span></span></td>
  4906.       </tr>
  4907.       <tr>
  4908.         <td id="L1066" class="blob-num js-line-number" data-line-number="1066"></td>
  4909.         <td id="LC1066" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>to beginning may be useful: usually you make new block <span class="pl-pds">&quot;</span></span></td>
  4910.       </tr>
  4911.       <tr>
  4912.         <td id="L1067" class="blob-num js-line-number" data-line-number="1067"></td>
  4913.         <td id="LC1067" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>and need to create new statement before this block.<span class="pl-pds">&quot;</span></span>));</td>
  4914.       </tr>
  4915.       <tr>
  4916.         <td id="L1068" class="blob-num js-line-number" data-line-number="1068"></td>
  4917.         <td id="LC1068" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(improved_cbracket_indent, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Improved auto-indentation<span class="pl-pds">&quot;</span></span>),</td>
  4918.       </tr>
  4919.       <tr>
  4920.         <td id="L1069" class="blob-num js-line-number" data-line-number="1069"></td>
  4921.         <td id="LC1069" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Improved auto-indent for curly brackets: type <span class="pl-cce">\&quot;</span>{<span class="pl-cce">\&quot;</span> <span class="pl-pds">&quot;</span></span></td>
  4922.       </tr>
  4923.       <tr>
  4924.         <td id="L1070" class="blob-num js-line-number" data-line-number="1070"></td>
  4925.         <td id="LC1070" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>and then press Enter - plugin will create full indented block. <span class="pl-pds">&quot;</span></span></td>
  4926.       </tr>
  4927.       <tr>
  4928.         <td id="L1071" class="blob-num js-line-number" data-line-number="1071"></td>
  4929.         <td id="LC1071" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>Works without <span class="pl-cce">\&quot;</span>auto-close { }<span class="pl-cce">\&quot;</span> checkbox.<span class="pl-pds">&quot;</span></span>));</td>
  4930.       </tr>
  4931.       <tr>
  4932.         <td id="L1072" class="blob-num js-line-number" data-line-number="1072"></td>
  4933.         <td id="LC1072" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(whitesmiths_style, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span><span class="pl-cce">\t</span>Whitesmith&#39;s style<span class="pl-pds">&quot;</span></span>),</td>
  4934.       </tr>
  4935.       <tr>
  4936.         <td id="L1073" class="blob-num js-line-number" data-line-number="1073"></td>
  4937.         <td id="LC1073" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>This style puts the brace associated with a control statement on <span class="pl-pds">&quot;</span></span></td>
  4938.       </tr>
  4939.       <tr>
  4940.         <td id="L1074" class="blob-num js-line-number" data-line-number="1074"></td>
  4941.         <td id="LC1074" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>the next line, indented. Statements within the braces are indented <span class="pl-pds">&quot;</span></span></td>
  4942.       </tr>
  4943.       <tr>
  4944.         <td id="L1075" class="blob-num js-line-number" data-line-number="1075"></td>
  4945.         <td id="LC1075" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>to the same level as the braces.<span class="pl-pds">&quot;</span></span>));</td>
  4946.       </tr>
  4947.       <tr>
  4948.         <td id="L1076" class="blob-num js-line-number" data-line-number="1076"></td>
  4949.         <td id="LC1076" class="blob-code js-file-line">
  4950. </td>
  4951.       </tr>
  4952.       <tr>
  4953.         <td id="L1077" class="blob-num js-line-number" data-line-number="1077"></td>
  4954.         <td id="LC1077" class="blob-code js-file-line"> container = vbox;</td>
  4955.       </tr>
  4956.       <tr>
  4957.         <td id="L1078" class="blob-num js-line-number" data-line-number="1078"></td>
  4958.         <td id="LC1078" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(delete_pairing_brace, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Delete pairing character while backspacing first<span class="pl-pds">&quot;</span></span>),</td>
  4959.       </tr>
  4960.       <tr>
  4961.         <td id="L1079" class="blob-num js-line-number" data-line-number="1079"></td>
  4962.         <td id="LC1079" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Check if you want to delete pairing bracket by pressing BackSpace.<span class="pl-pds">&quot;</span></span>));</td>
  4963.       </tr>
  4964.       <tr>
  4965.         <td id="L1080" class="blob-num js-line-number" data-line-number="1080"></td>
  4966.         <td id="LC1080" class="blob-code js-file-line"> <span class="pl-c1">g_signal_connect</span>(widget, <span class="pl-s"><span class="pl-pds">&quot;</span>toggled<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">G_CALLBACK</span>(ac_delete_pairing_brace_cb), dialog);</td>
  4967.       </tr>
  4968.       <tr>
  4969.         <td id="L1081" class="blob-num js-line-number" data-line-number="1081"></td>
  4970.         <td id="LC1081" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(suppress_doubling, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Suppress double-completion<span class="pl-pds">&quot;</span></span>),</td>
  4971.       </tr>
  4972.       <tr>
  4973.         <td id="L1082" class="blob-num js-line-number" data-line-number="1082"></td>
  4974.         <td id="LC1082" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Check if you want to allow editor automatically fix mistypes <span class="pl-pds">&quot;</span></span></td>
  4975.       </tr>
  4976.       <tr>
  4977.         <td id="L1083" class="blob-num js-line-number" data-line-number="1083"></td>
  4978.         <td id="LC1083" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>with brackets: if you type <span class="pl-cce">\&quot;</span>{}<span class="pl-cce">\&quot;</span> you will get <span class="pl-cce">\&quot;</span>{}<span class="pl-cce">\&quot;</span>, not <span class="pl-cce">\&quot;</span>{}}<span class="pl-cce">\&quot;</span>.<span class="pl-pds">&quot;</span></span>));</td>
  4979.       </tr>
  4980.       <tr>
  4981.         <td id="L1084" class="blob-num js-line-number" data-line-number="1084"></td>
  4982.         <td id="LC1084" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(enclose_selections, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Enclose selections<span class="pl-pds">&quot;</span></span>),</td>
  4983.       </tr>
  4984.       <tr>
  4985.         <td id="L1085" class="blob-num js-line-number" data-line-number="1085"></td>
  4986.         <td id="LC1085" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Automatically enclose selected text by pressing just one bracket key.<span class="pl-pds">&quot;</span></span>));</td>
  4987.       </tr>
  4988.       <tr>
  4989.         <td id="L1086" class="blob-num js-line-number" data-line-number="1086"></td>
  4990.         <td id="LC1086" class="blob-code js-file-line"> <span class="pl-c1">g_signal_connect</span>(widget, <span class="pl-s"><span class="pl-pds">&quot;</span>toggled<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">G_CALLBACK</span>(ac_enclose_selections_cb), dialog);</td>
  4991.       </tr>
  4992.       <tr>
  4993.         <td id="L1087" class="blob-num js-line-number" data-line-number="1087"></td>
  4994.         <td id="LC1087" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(keep_selection, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Keep selection when enclosing<span class="pl-pds">&quot;</span></span>),</td>
  4995.       </tr>
  4996.       <tr>
  4997.         <td id="L1088" class="blob-num js-line-number" data-line-number="1088"></td>
  4998.         <td id="LC1088" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Keep your previously selected text after enclosing.<span class="pl-pds">&quot;</span></span>));</td>
  4999.       </tr>
  5000.       <tr>
  5001.         <td id="L1089" class="blob-num js-line-number" data-line-number="1089"></td>
  5002.         <td id="LC1089" class="blob-code js-file-line">
  5003. </td>
  5004.       </tr>
  5005.       <tr>
  5006.         <td id="L1090" class="blob-num js-line-number" data-line-number="1090"></td>
  5007.         <td id="LC1090" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_FRAME</span>(<span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Behaviour inside comments and strings<span class="pl-pds">&quot;</span></span>));</td>
  5008.       </tr>
  5009.       <tr>
  5010.         <td id="L1091" class="blob-num js-line-number" data-line-number="1091"></td>
  5011.         <td id="LC1091" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(comments_ac_enable, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Allow auto-closing in strings and comments<span class="pl-pds">&quot;</span></span>),</td>
  5012.       </tr>
  5013.       <tr>
  5014.         <td id="L1092" class="blob-num js-line-number" data-line-number="1092"></td>
  5015.         <td id="LC1092" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Check if you wan to keep auto-closing inside strings and comments too.<span class="pl-pds">&quot;</span></span>));</td>
  5016.       </tr>
  5017.       <tr>
  5018.         <td id="L1093" class="blob-num js-line-number" data-line-number="1093"></td>
  5019.         <td id="LC1093" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(comments_enclose, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Enclose selections in strings and comments<span class="pl-pds">&quot;</span></span>),</td>
  5020.       </tr>
  5021.       <tr>
  5022.         <td id="L1094" class="blob-num js-line-number" data-line-number="1094"></td>
  5023.         <td id="LC1094" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Check if you wan to enclose selections inside strings and comments too.<span class="pl-pds">&quot;</span></span>));</td>
  5024.       </tr>
  5025.       <tr>
  5026.         <td id="L1095" class="blob-num js-line-number" data-line-number="1095"></td>
  5027.         <td id="LC1095" class="blob-code js-file-line">
  5028. </td>
  5029.       </tr>
  5030.       <tr>
  5031.         <td id="L1096" class="blob-num js-line-number" data-line-number="1096"></td>
  5032.         <td id="LC1096" class="blob-code js-file-line"> container = vbox;</td>
  5033.       </tr>
  5034.       <tr>
  5035.         <td id="L1097" class="blob-num js-line-number" data-line-number="1097"></td>
  5036.         <td id="LC1097" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(close_functions, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Auto-complete <span class="pl-cce">\&quot;</span>;<span class="pl-cce">\&quot;</span> for functions<span class="pl-pds">&quot;</span></span>),</td>
  5037.       </tr>
  5038.       <tr>
  5039.         <td id="L1098" class="blob-num js-line-number" data-line-number="1098"></td>
  5040.         <td id="LC1098" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Full function auto-closing (works only for C/C++): type <span class="pl-cce">\&quot;</span>sin(<span class="pl-cce">\&quot;</span> <span class="pl-pds">&quot;</span></span></td>
  5041.       </tr>
  5042.       <tr>
  5043.         <td id="L1099" class="blob-num js-line-number" data-line-number="1099"></td>
  5044.         <td id="LC1099" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>and you will get <span class="pl-cce">\&quot;</span>sin(|);<span class="pl-cce">\&quot;</span>.<span class="pl-pds">&quot;</span></span>));</td>
  5045.       </tr>
  5046.       <tr>
  5047.         <td id="L1100" class="blob-num js-line-number" data-line-number="1100"></td>
  5048.         <td id="LC1100" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(bcksp_remove_pair, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Shift+BackSpace removes pairing brace too<span class="pl-pds">&quot;</span></span>),</td>
  5049.       </tr>
  5050.       <tr>
  5051.         <td id="L1101" class="blob-num js-line-number" data-line-number="1101"></td>
  5052.         <td id="LC1101" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Remove left and right brace while pressing Shift+BackSpace.<span class="pl-cce">\n</span>Tip: <span class="pl-pds">&quot;</span></span></td>
  5053.       </tr>
  5054.       <tr>
  5055.         <td id="L1102" class="blob-num js-line-number" data-line-number="1102"></td>
  5056.         <td id="LC1102" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>to completely remove indented block just Shift+BackSpace first <span class="pl-cce">\&quot;</span>{<span class="pl-cce">\&quot;</span> <span class="pl-pds">&quot;</span></span></td>
  5057.       </tr>
  5058.       <tr>
  5059.         <td id="L1103" class="blob-num js-line-number" data-line-number="1103"></td>
  5060.         <td id="LC1103" class="blob-code js-file-line">         <span class="pl-s"><span class="pl-pds">&quot;</span>or last <span class="pl-cce">\&quot;</span>}<span class="pl-cce">\&quot;</span>.<span class="pl-pds">&quot;</span></span>));</td>
  5061.       </tr>
  5062.       <tr>
  5063.         <td id="L1104" class="blob-num js-line-number" data-line-number="1104"></td>
  5064.         <td id="LC1104" class="blob-code js-file-line"> <span class="pl-c1">WIDGET_CONF_BOOL</span>(jump_on_tab, <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Jump on Tab to enclosed char<span class="pl-pds">&quot;</span></span>),</td>
  5065.       </tr>
  5066.       <tr>
  5067.         <td id="L1105" class="blob-num js-line-number" data-line-number="1105"></td>
  5068.         <td id="LC1105" class="blob-code js-file-line">         <span class="pl-c1">_</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>Jump behind autoclosed items on Tab press.<span class="pl-pds">&quot;</span></span>));</td>
  5069.       </tr>
  5070.       <tr>
  5071.         <td id="L1106" class="blob-num js-line-number" data-line-number="1106"></td>
  5072.         <td id="LC1106" class="blob-code js-file-line">
  5073. </td>
  5074.       </tr>
  5075.       <tr>
  5076.         <td id="L1107" class="blob-num js-line-number" data-line-number="1107"></td>
  5077.         <td id="LC1107" class="blob-code js-file-line">#<span class="pl-k">undef</span> WIDGET_CONF_BOOL</td>
  5078.       </tr>
  5079.       <tr>
  5080.         <td id="L1108" class="blob-num js-line-number" data-line-number="1108"></td>
  5081.         <td id="LC1108" class="blob-code js-file-line">#<span class="pl-k">undef</span> WIDGET_FRAME</td>
  5082.       </tr>
  5083.       <tr>
  5084.         <td id="L1109" class="blob-num js-line-number" data-line-number="1109"></td>
  5085.         <td id="LC1109" class="blob-code js-file-line">
  5086. </td>
  5087.       </tr>
  5088.       <tr>
  5089.         <td id="L1110" class="blob-num js-line-number" data-line-number="1110"></td>
  5090.         <td id="LC1110" class="blob-code js-file-line"> <span class="pl-c1">ac_make_indent_for_cbracket_cb</span>(<span class="pl-c1">NULL</span>, dialog);</td>
  5091.       </tr>
  5092.       <tr>
  5093.         <td id="L1111" class="blob-num js-line-number" data-line-number="1111"></td>
  5094.         <td id="LC1111" class="blob-code js-file-line"> <span class="pl-c1">ac_cbracket_cb</span>(<span class="pl-c1">NULL</span>, dialog);</td>
  5095.       </tr>
  5096.       <tr>
  5097.         <td id="L1112" class="blob-num js-line-number" data-line-number="1112"></td>
  5098.         <td id="LC1112" class="blob-code js-file-line"> <span class="pl-c1">ac_enclose_selections_cb</span>(<span class="pl-c1">NULL</span>, dialog);</td>
  5099.       </tr>
  5100.       <tr>
  5101.         <td id="L1113" class="blob-num js-line-number" data-line-number="1113"></td>
  5102.         <td id="LC1113" class="blob-code js-file-line"> <span class="pl-c1">ac_parenthesis_cb</span>(<span class="pl-c1">NULL</span>, dialog);</td>
  5103.       </tr>
  5104.       <tr>
  5105.         <td id="L1114" class="blob-num js-line-number" data-line-number="1114"></td>
  5106.         <td id="LC1114" class="blob-code js-file-line"> <span class="pl-c1">ac_abracket_htmlonly_cb</span>(<span class="pl-c1">NULL</span>, dialog);</td>
  5107.       </tr>
  5108.       <tr>
  5109.         <td id="L1115" class="blob-num js-line-number" data-line-number="1115"></td>
  5110.         <td id="LC1115" class="blob-code js-file-line"> <span class="pl-c1">ac_delete_pairing_brace_cb</span>(<span class="pl-c1">NULL</span>, dialog);</td>
  5111.       </tr>
  5112.       <tr>
  5113.         <td id="L1116" class="blob-num js-line-number" data-line-number="1116"></td>
  5114.         <td id="LC1116" class="blob-code js-file-line"> <span class="pl-c1">g_signal_connect</span>(dialog, <span class="pl-s"><span class="pl-pds">&quot;</span>response<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">G_CALLBACK</span>(configure_response_cb), <span class="pl-c1">NULL</span>);</td>
  5115.       </tr>
  5116.       <tr>
  5117.         <td id="L1117" class="blob-num js-line-number" data-line-number="1117"></td>
  5118.         <td id="LC1117" class="blob-code js-file-line"> <span class="pl-c1">gtk_widget_show_all</span>(scrollbox);</td>
  5119.       </tr>
  5120.       <tr>
  5121.         <td id="L1118" class="blob-num js-line-number" data-line-number="1118"></td>
  5122.         <td id="LC1118" class="blob-code js-file-line"> <span class="pl-k">return</span> scrollbox;</td>
  5123.       </tr>
  5124.       <tr>
  5125.         <td id="L1119" class="blob-num js-line-number" data-line-number="1119"></td>
  5126.         <td id="LC1119" class="blob-code js-file-line">}</td>
  5127.       </tr>
  5128.       <tr>
  5129.         <td id="L1120" class="blob-num js-line-number" data-line-number="1120"></td>
  5130.         <td id="LC1120" class="blob-code js-file-line">
  5131. </td>
  5132.       </tr>
  5133.       <tr>
  5134.         <td id="L1121" class="blob-num js-line-number" data-line-number="1121"></td>
  5135.         <td id="LC1121" class="blob-code js-file-line"><span class="pl-k">static</span> <span class="pl-k">void</span></td>
  5136.       </tr>
  5137.       <tr>
  5138.         <td id="L1122" class="blob-num js-line-number" data-line-number="1122"></td>
  5139.         <td id="LC1122" class="blob-code js-file-line"><span class="pl-en">autoclose_cleanup</span>(<span class="pl-k">void</span>)</td>
  5140.       </tr>
  5141.       <tr>
  5142.         <td id="L1123" class="blob-num js-line-number" data-line-number="1123"></td>
  5143.         <td id="LC1123" class="blob-code js-file-line">{</td>
  5144.       </tr>
  5145.       <tr>
  5146.         <td id="L1124" class="blob-num js-line-number" data-line-number="1124"></td>
  5147.         <td id="LC1124" class="blob-code js-file-line"> guint i;</td>
  5148.       </tr>
  5149.       <tr>
  5150.         <td id="L1125" class="blob-num js-line-number" data-line-number="1125"></td>
  5151.         <td id="LC1125" class="blob-code js-file-line">
  5152. </td>
  5153.       </tr>
  5154.       <tr>
  5155.         <td id="L1126" class="blob-num js-line-number" data-line-number="1126"></td>
  5156.         <td id="LC1126" class="blob-code js-file-line"> <span class="pl-c1">foreach_document</span>(i)</td>
  5157.       </tr>
  5158.       <tr>
  5159.         <td id="L1127" class="blob-num js-line-number" data-line-number="1127"></td>
  5160.         <td id="LC1127" class="blob-code js-file-line"> {</td>
  5161.       </tr>
  5162.       <tr>
  5163.         <td id="L1128" class="blob-num js-line-number" data-line-number="1128"></td>
  5164.         <td id="LC1128" class="blob-code js-file-line">         gpointer data;</td>
  5165.       </tr>
  5166.       <tr>
  5167.         <td id="L1129" class="blob-num js-line-number" data-line-number="1129"></td>
  5168.         <td id="LC1129" class="blob-code js-file-line">         ScintillaObject *sci;</td>
  5169.       </tr>
  5170.       <tr>
  5171.         <td id="L1130" class="blob-num js-line-number" data-line-number="1130"></td>
  5172.         <td id="LC1130" class="blob-code js-file-line">
  5173. </td>
  5174.       </tr>
  5175.       <tr>
  5176.         <td id="L1131" class="blob-num js-line-number" data-line-number="1131"></td>
  5177.         <td id="LC1131" class="blob-code js-file-line">         sci = documents[i]-&gt;editor-&gt;sci;</td>
  5178.       </tr>
  5179.       <tr>
  5180.         <td id="L1132" class="blob-num js-line-number" data-line-number="1132"></td>
  5181.         <td id="LC1132" class="blob-code js-file-line">         data = <span class="pl-c1">g_object_steal_data</span>(<span class="pl-c1">G_OBJECT</span>(sci), <span class="pl-s"><span class="pl-pds">&quot;</span>autoclose-userdata<span class="pl-pds">&quot;</span></span>);</td>
  5182.       </tr>
  5183.       <tr>
  5184.         <td id="L1133" class="blob-num js-line-number" data-line-number="1133"></td>
  5185.         <td id="LC1133" class="blob-code js-file-line">         <span class="pl-c1">g_free</span>(data);</td>
  5186.       </tr>
  5187.       <tr>
  5188.         <td id="L1134" class="blob-num js-line-number" data-line-number="1134"></td>
  5189.         <td id="LC1134" class="blob-code js-file-line"> }</td>
  5190.       </tr>
  5191.       <tr>
  5192.         <td id="L1135" class="blob-num js-line-number" data-line-number="1135"></td>
  5193.         <td id="LC1135" class="blob-code js-file-line">}</td>
  5194.       </tr>
  5195.       <tr>
  5196.         <td id="L1136" class="blob-num js-line-number" data-line-number="1136"></td>
  5197.         <td id="LC1136" class="blob-code js-file-line">
  5198. </td>
  5199.       </tr>
  5200.       <tr>
  5201.         <td id="L1137" class="blob-num js-line-number" data-line-number="1137"></td>
  5202.         <td id="LC1137" class="blob-code js-file-line"><span class="pl-c">/* Called by Geany before unloading the plugin. */</span></td>
  5203.       </tr>
  5204.       <tr>
  5205.         <td id="L1138" class="blob-num js-line-number" data-line-number="1138"></td>
  5206.         <td id="LC1138" class="blob-code js-file-line"><span class="pl-k">void</span></td>
  5207.       </tr>
  5208.       <tr>
  5209.         <td id="L1139" class="blob-num js-line-number" data-line-number="1139"></td>
  5210.         <td id="LC1139" class="blob-code js-file-line"><span class="pl-en">plugin_cleanup</span>(<span class="pl-k">void</span>)</td>
  5211.       </tr>
  5212.       <tr>
  5213.         <td id="L1140" class="blob-num js-line-number" data-line-number="1140"></td>
  5214.         <td id="LC1140" class="blob-code js-file-line">{</td>
  5215.       </tr>
  5216.       <tr>
  5217.         <td id="L1141" class="blob-num js-line-number" data-line-number="1141"></td>
  5218.         <td id="LC1141" class="blob-code js-file-line"> <span class="pl-c1">autoclose_cleanup</span>();</td>
  5219.       </tr>
  5220.       <tr>
  5221.         <td id="L1142" class="blob-num js-line-number" data-line-number="1142"></td>
  5222.         <td id="LC1142" class="blob-code js-file-line"> <span class="pl-c1">g_free</span>(ac_info-&gt;config_file);</td>
  5223.       </tr>
  5224.       <tr>
  5225.         <td id="L1143" class="blob-num js-line-number" data-line-number="1143"></td>
  5226.         <td id="LC1143" class="blob-code js-file-line"> <span class="pl-c1">g_free</span>(ac_info);</td>
  5227.       </tr>
  5228.       <tr>
  5229.         <td id="L1144" class="blob-num js-line-number" data-line-number="1144"></td>
  5230.         <td id="LC1144" class="blob-code js-file-line">}</td>
  5231.       </tr>
  5232.       <tr>
  5233.         <td id="L1145" class="blob-num js-line-number" data-line-number="1145"></td>
  5234.         <td id="LC1145" class="blob-code js-file-line">
  5235. </td>
  5236.       </tr>
  5237.       <tr>
  5238.         <td id="L1146" class="blob-num js-line-number" data-line-number="1146"></td>
  5239.         <td id="LC1146" class="blob-code js-file-line"><span class="pl-k">void</span></td>
  5240.       </tr>
  5241.       <tr>
  5242.         <td id="L1147" class="blob-num js-line-number" data-line-number="1147"></td>
  5243.         <td id="LC1147" class="blob-code js-file-line"><span class="pl-en">plugin_help</span>(<span class="pl-k">void</span>)</td>
  5244.       </tr>
  5245.       <tr>
  5246.         <td id="L1148" class="blob-num js-line-number" data-line-number="1148"></td>
  5247.         <td id="LC1148" class="blob-code js-file-line">{</td>
  5248.       </tr>
  5249.       <tr>
  5250.         <td id="L1149" class="blob-num js-line-number" data-line-number="1149"></td>
  5251.         <td id="LC1149" class="blob-code js-file-line"> <span class="pl-c1">utils_open_browser</span>(<span class="pl-s"><span class="pl-pds">&quot;</span>http://plugins.geany.org/autoclose.html<span class="pl-pds">&quot;</span></span>);</td>
  5252.       </tr>
  5253.       <tr>
  5254.         <td id="L1150" class="blob-num js-line-number" data-line-number="1150"></td>
  5255.         <td id="LC1150" class="blob-code js-file-line">}</td>
  5256.       </tr>
  5257. </table>
  5258.  
  5259.   </div>
  5260.  
  5261. </div>
  5262.  
  5263. <a href="#jump-to-line" rel="facebox[.linejump]" data-hotkey="l" style="display:none">Jump to Line</a>
  5264. <div id="jump-to-line" style="display:none">
  5265.   <form accept-charset="UTF-8" action="" class="js-jump-to-line-form" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
  5266.     <input class="linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line&hellip;" autofocus>
  5267.     <button type="submit" class="btn">Go</button>
  5268. </form></div>
  5269.  
  5270.         </div>
  5271.  
  5272.       </div><!-- /.repo-container -->
  5273.       <div class="modal-backdrop"></div>
  5274.     </div><!-- /.container -->
  5275.   </div><!-- /.site -->
  5276.  
  5277.  
  5278.     </div><!-- /.wrapper -->
  5279.  
  5280.       <div class="container">
  5281.   <div class="site-footer" role="contentinfo">
  5282.     <ul class="site-footer-links right">
  5283.         <li><a href="https://status.github.com/" data-ga-click="Footer, go to status, text:status">Status</a></li>
  5284.       <li><a href="https://developer.github.com" data-ga-click="Footer, go to api, text:api">API</a></li>
  5285.       <li><a href="https://training.github.com" data-ga-click="Footer, go to training, text:training">Training</a></li>
  5286.       <li><a href="https://shop.github.com" data-ga-click="Footer, go to shop, text:shop">Shop</a></li>
  5287.         <li><a href="https://github.com/blog" data-ga-click="Footer, go to blog, text:blog">Blog</a></li>
  5288.         <li><a href="https://github.com/about" data-ga-click="Footer, go to about, text:about">About</a></li>
  5289.  
  5290.     </ul>
  5291.  
  5292.     <a href="https://github.com" aria-label="Homepage">
  5293.       <span class="mega-octicon octicon-mark-github" title="GitHub"></span>
  5294. </a>
  5295.     <ul class="site-footer-links">
  5296.       <li>&copy; 2015 <span title="0.06344s from github-fe130-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
  5297.         <li><a href="https://github.com/site/terms" data-ga-click="Footer, go to terms, text:terms">Terms</a></li>
  5298.         <li><a href="https://github.com/site/privacy" data-ga-click="Footer, go to privacy, text:privacy">Privacy</a></li>
  5299.         <li><a href="https://github.com/security" data-ga-click="Footer, go to security, text:security">Security</a></li>
  5300.         <li><a href="https://github.com/contact" data-ga-click="Footer, go to contact, text:contact">Contact</a></li>
  5301.     </ul>
  5302.   </div>
  5303. </div>
  5304.  
  5305.  
  5306.     <div class="fullscreen-overlay js-fullscreen-overlay" id="fullscreen_overlay">
  5307.   <div class="fullscreen-container js-suggester-container">
  5308.     <div class="textarea-wrap">
  5309.       <textarea name="fullscreen-contents" id="fullscreen-contents" class="fullscreen-contents js-fullscreen-contents" placeholder=""></textarea>
  5310.       <div class="suggester-container">
  5311.         <div class="suggester fullscreen-suggester js-suggester js-navigation-container"></div>
  5312.       </div>
  5313.     </div>
  5314.   </div>
  5315.   <div class="fullscreen-sidebar">
  5316.     <a href="#" class="exit-fullscreen js-exit-fullscreen tooltipped tooltipped-w" aria-label="Exit Zen Mode">
  5317.       <span class="mega-octicon octicon-screen-normal"></span>
  5318.     </a>
  5319.     <a href="#" class="theme-switcher js-theme-switcher tooltipped tooltipped-w"
  5320.       aria-label="Switch themes">
  5321.       <span class="octicon octicon-color-mode"></span>
  5322.     </a>
  5323.   </div>
  5324. </div>
  5325.  
  5326.  
  5327.  
  5328.    
  5329.    
  5330.  
  5331.     <div id="ajax-error-message" class="flash flash-error">
  5332.       <span class="octicon octicon-alert"></span>
  5333.       <a href="#" class="octicon octicon-x flash-close js-ajax-error-dismiss" aria-label="Dismiss error"></a>
  5334.       Something went wrong with that request. Please try again.
  5335.     </div>
  5336.  
  5337.  
  5338.       <script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-2c8ae50712a47d2b83d740cb875d55cdbbb3fdbccf303951cc6b7e63731e0c38.js"></script>
  5339.       <script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-8aff85e9cebe4485d56ccdb7ec1cddc29ae18de6dac4211b8d037d21b01d8642.js"></script>
  5340.      
  5341.      
  5342.  
  5343.   </body>
  5344. </html>
RAW Paste Data