Post Reply 
Editor/converter/program manager for the Prime Calculator (PrimeComm)
01-04-2014, 05:07 PM (This post was last modified: 01-07-2014 05:06 PM by eried.)
Post: #11
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things
Here is how the custom configuration for the program editor works:
http://scintillanet.codeplex.com/wikipag...stomConfig

Snippets, autocompletion, highlighting, codeblocks, printing is all allowed thanks to scintilla Smile:
[Image: Image%202014-01-04%20at%202.03.00%20PM.png]





Here are some hints about the configuration file (in case someone wants to help to define HPPPL configuration Tongue ):
Code:
<?xml version="1.0" encoding="utf-8" ?>
<ScintillaNET>
    <Language Name="hpppl">
        <Indentation TabWidth="2" UseTabs="true"/>
        <Lexer LineCommentPrefix="//">
            <Keywords List="0">var</Keywords>
            <Keywords List="1">string</Keywords>
        </Lexer>
        <Styles>
            <Style Name="CHARACTER" ForeColor="Black" BackColor="Red"/>
        </Styles>
    </Language>
</ScintillaNET>

Snippets:
Code:
<Snippets>
<Snippet Shortcut="while" IsSurroundsWith="true">WHILE $expression$ DO
    $end$$selected$
END;
$DropMarker$</Snippet>
</Snippets>

Autocomplete (example for CS):
Code:
        <AutoComplete FillUpCharacters=".([" SingleLineAccept="True" IsCaseSensitive="False">
            <List>
                abstract as base break case catch checked continue default delegate do else event explicit extern
                false finally fixed for foreach goto if implicit in interface internal is lock namespace new null
                object operator out override params private protected public readonly ref return sealed sizeof
                stackalloc switch this throw true try typeof unchecked unsafe using virtual while bool byte char
                class const decimal double enum float int long sbyte short static string struct uint ulong ushort void
            </List>
        </AutoComplete>

Incomplete alpha version: http://servicios.ried.cl/primecomm/PrimeComm_alpha.zip (editor works, prints, sends, but does not save/open, etc)

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: PrimeComm: Alternative Windows (Library/Console/GUI) utility to send/convert things - eried - 01-04-2014 05:07 PM
ASCII 7 bits - compsystems - 01-07-2014, 08:57 PM
ASCII 7 bits - compsystems - 01-08-2014, 02:18 PM



User(s) browsing this thread: 1 Guest(s)