<table><tr><td style="">dhaumann added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D17971">View Revision</a></tr></table><br /><div><div><p>The following list is my current proposal of variables. These variables already vary from Qt Creator. Not everything else matches anyways:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">CurrentDocument:FileBaseName - Current document: File base name without path and suffix.
CurrentDocument:FileName - Current document: File name without path.
CurrentDocument:FilePath - Current document: Full path including file name.
CurrentDocument:FileExtension - Current document: File extension.
CurrentDocument:Text - Current document: Contents of entire file.
CurrentDocument:Path - Current document: Full path excluding file name.
CurrentDocument:NativeFilePath - Current document: Full path including file name, with native path separator (backslash on Windows).
CurrentDocument:NativePath - Current document: Full path excluding file name, with native path separator (backslash on Windows).
CurrentDocument:Cursor:Line - Line number of the text cursor position in current document (starts with 0).
CurrentDocument:Cursor:Column - Column number of the text cursor position in current document (starts with 0).
CurrentDocument:Cursor:XPos - X component in global screen coordinates of the cursor position.
CurrentDocument:Cursor:YPos - Y component in global screen coordinates of the cursor position.
CurrentDocument:Selection:Text - Current document: Full path excluding file name.
CurrentDocument:Selection:StartLine
CurrentDocument:Selection:StartColumn
CurrentDocument:Selection:EndLine
CurrentDocument:Selection:EndColumn
CurrentDocument:RowCount - Total number of lines in the current document.
Date:<format> - The current date (QDate formatstring).
Date:Locale - The current date in current locale format.
Date:ISO - The current date (ISO).
Time:<format> - The current time (QTime formatstring).
Time:Loca - The current time in current locale format.
Time:ISO - The current time (ISO).
Env:<value> - Access environment variables.
JS:<expression> - Evaluate simple JavaScript statements. The statements may not contain '{' nor '}' characters.
UUID - Generate a new UUID.</pre></div>
<p>Any objections or additons to this?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17971">https://phabricator.kde.org/D17971</a></div></div><br /><div><strong>To: </strong>dhaumann, cullmann, gregormi<br /><strong>Cc: </strong>brauch, pino, ngraham, kwrite-devel, hase, michaelh, demsking, cullmann, sars, dhaumann<br /></div>