<p>This PR is in response to <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="408224270" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany-plugins/issues/819" data-hovercard-type="issue" data-hovercard-url="/geany/geany-plugins/issues/819/hovercard" href="https://github.com/geany/geany-plugins/issues/819">#819</a>.</p>
<p>Changes:</p>
<ul>
<li>
<p>add preferences option: 'Use collation based string compare'<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/15589754/62841538-6a2d6200-bc77-11e9-9e64-61ee8e994d23.png"><img src="https://user-images.githubusercontent.com/15589754/62841538-6a2d6200-bc77-11e9-9e64-61ee8e994d23.png" alt="image" style="max-width:100%;"></a></p>
</li>
<li>
<p><code>getcmpfns()</code> returns either <code>g_utf8_collate</code> or <code>strcmp</code> function pointer to line operations function based on user preference</p>
</li>
</ul>
<p>Minor:</p>
<ul>
<li>add help function to redirect to online documentation</li>
<li>split files into <code>lo_prefs</code> and <code>lo_fns</code></li>
<li>sorry about all the annoying indentation / spacing changes / file renaming.</li>
</ul>
<p>I'm open to hear any suggestions/improvements.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany-plugins/pull/897'>https://github.com/geany/geany-plugins/pull/897</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>lineoperations: minor formatting changes</li>
  <li>lineoperations: add preferences</li>
  <li>lineoperations: split files into fns and prefs</li>
  <li>lineoperations: abstract string compare fns</li>
  <li>lineoperations: add documentation for prefs</li>
  <li>lineoperations: match indentation</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/897/files#diff-0">lineoperations/ChangeLog</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/897/files#diff-1">lineoperations/README</a>
    (102)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/897/files#diff-2">lineoperations/src/Makefile.am</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/897/files#diff-3">lineoperations/src/lineoperations.c</a>
    (82)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/geany/geany-plugins/pull/897/files#diff-4">lineoperations/src/lo_fns.c</a>
    (137)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/geany/geany-plugins/pull/897/files#diff-5">lineoperations/src/lo_fns.h</a>
    (15)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/geany/geany-plugins/pull/897/files#diff-6">lineoperations/src/lo_prefs.c</a>
    (127)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/geany/geany-plugins/pull/897/files#diff-7">lineoperations/src/lo_prefs.h</a>
    (59)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany-plugins/pull/897.patch'>https://github.com/geany/geany-plugins/pull/897.patch</a></li>
  <li><a href='https://github.com/geany/geany-plugins/pull/897.diff'>https://github.com/geany/geany-plugins/pull/897.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/897?email_source=notifications&email_token=AAIOWJ2KZDCOMWPPVBYH3RLQECWY3A5CNFSM4IK5FTCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HETSQQQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5DM7L6R4MKUYWDUNTQECWY3ANCNFSM4IK5FTCA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ46LOXKJ2C4CNOWZTTQECWY3A5CNFSM4IK5FTCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HETSQQQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/897?email_source=notifications\u0026email_token=AAIOWJ2KZDCOMWPPVBYH3RLQECWY3A5CNFSM4IK5FTCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HETSQQQ",
"url": "https://github.com/geany/geany-plugins/pull/897?email_source=notifications\u0026email_token=AAIOWJ2KZDCOMWPPVBYH3RLQECWY3A5CNFSM4IK5FTCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HETSQQQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>