<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1453661123657_2905"><span id="yui_3_16_0_1_1453661123657_3254">Thanks everyone for their help!</span></div><div id="yui_3_16_0_1_1453661123657_2905"><span><br></span></div><div id="yui_3_16_0_1_1453661123657_2905"><span id="yui_3_16_0_1_1453661123657_3127">For Native Oberon, EditKeys does very much what I want (and can be extended for the rest), thanks! I couldn't get it to work without Gadgets, </span></div><div id="yui_3_16_0_1_1453661123657_2905"><span><br></span></div><div id="yui_3_16_0_1_1453661123657_2905"><span id="yui_3_16_0_1_1453661123657_3258">Thanks also for the Astrobe and Sublime pointers. I already have a simple awk script for Unix that did what I want (which I use when I use oo2c), but it is helpful to have editor support as well.</span></div><div id="yui_3_16_0_1_1453661123657_2905"><span><br></span></div><div id="yui_3_16_0_1_1453661123657_2905" dir="ltr"><span id="yui_3_16_0_1_1453661123657_3259">I'll play around with porting EditKeys to Project Oberon 2013, which I think might be fun. Figuring out how to intercept characters before the editor gets them will probably be a fun project.</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Saturday, January 23, 2016 6:47 AM, Alexey Veselovsky <alexey.veselovsky@gmail.com> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv6007748014"><div><div dir="ltr">Plugin for Sublime Text for Oberon language has the similar behavior.<div><br clear="none"></div><div>Thanks,</div><div>Alexey.</div></div><div class="yiv6007748014gmail_extra"><br clear="none"><div class="yiv6007748014yqt9453631581" id="yiv6007748014yqtfd68280"><div class="yiv6007748014gmail_quote">On Sat, Jan 23, 2016 at 1:38 PM, Chris Burrows <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:chris@cfbsoftware.com" target="_blank" href="mailto:chris@cfbsoftware.com">chris@cfbsoftware.com</a>></span> wrote:<br clear="none"><blockquote class="yiv6007748014gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The Oberon syntax-aware editor in our Astrobe IDE has an 'Auto-capitalisation' feature. This is the description of how it works from the Astrobe Help file:<br clear="none">
<br clear="none">
-------------------------------------------------<br clear="none">
The Oberon language requires that reserved words (BEGIN, WHILE etc.) and predeclared identifiers (INTEGER, TRUE etc.) consist exclusively of capital letters. When editing source files, Astrobe automatically detects these words and capitalises them, if necessary, as you are typing. The auto-capitalisation feature can turned on or off from the Tools > Preferences menu.<br clear="none">
<br clear="none">
Astrobe capitalises a word when all of the following conditions apply:<br clear="none">
<br clear="none">
• The RETURN key is pressed or one of the following characters is typed:<br clear="none">
<br clear="none">
space<br clear="none">
( left-parenthesis<br clear="none">
) right-parenthesis<br clear="none">
; semi-colon<br clear="none">
| vertical bar<br clear="none">
, comma<br clear="none">
* asterisk<br clear="none">
<br clear="none">
• The word is a reserved word, predeclared identifier or a qualified SYSTEM identifier<br clear="none">
• The word consists entirely of lowercase letters<br clear="none">
• The word is not contained in a comment or string<br clear="none">
<br clear="none">
NOTE: If you need to use a reserved word or predeclared identifier in lowercase, then you can reverse the effect of auto-capitalisation by selecting Edit > Lower Case (Ctrl-L) when the cursor is positioned at the end of the word. As well as converting the word to lowercase it suppresses auto-capitalisation for the next keystroke to prevent it from being immediately converted back to capitals again.<br clear="none">
-------------------------------------------------<br clear="none">
<br clear="none">
The origianl versions of Astrobe that target ARM Cortex-M3/M4 systems are commercial software. However, we have released a free full-featured version of Astrobe that can be used to edit, compile and upload Project Oberon 2013 RISC5 FPGA applications for no charge. For more details see:<br clear="none">
<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.astrobe.com/RISC5">http://www.astrobe.com/RISC5</a><br clear="none">
<br clear="none">
Regards,<br clear="none">
<br clear="none">
Chris Burrows<br clear="none">
CFB Software<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.astrobe.com/">http://www.astrobe.com</a><br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
From: Oberon [mailto:<a rel="nofollow" shape="rect" ymailto="mailto:oberon-bounces@lists.inf.ethz.ch" target="_blank" href="mailto:oberon-bounces@lists.inf.ethz.ch">oberon-bounces@lists.inf.ethz.ch</a>] On Behalf Of Eric Scharff<br clear="none">
Sent: Saturday, 23 January 2016 4:52 AM<br clear="none">
To: <a rel="nofollow" shape="rect" ymailto="mailto:oberon@lists.inf.ethz.ch" target="_blank" href="mailto:oberon@lists.inf.ethz.ch">oberon@lists.inf.ethz.ch</a><br clear="none">
Subject: [Oberon] Easier typing of capital letter keywords in Oberon<br clear="none">
<br clear="none">
So, in my tinkering with both Native Oberon and Project Oberon 2013, I have to say I really like Oberon (the language), but as a newbie, the environment is tricky.<br clear="none">
<br clear="none">
The most obvious thing for me is that Oberon doesn't seem to recognize my caps lock key. I know it sounds trivial, but it's leading to a huge ergonomic issue for me.<br clear="none">
<br clear="none">
typing PROCEDURE or INTEGER (and the other keywords) while holding down the shift key is extremely uncomfortable. Typing <caps-lock>integer<caps-lock) would be an improvement (all lower case typing), but still has extra keystrokes.<br clear="none">
<br clear="none">
Really, I'd like to type all of the capitalized keywords in lower case, and then apply a filter to my document to automatically capitalize, and run such a trigger when I Edit.Store a file. Does such a thing exist?<br clear="none">
<br clear="none">
Do other folks run into this problem? What are recommended solutions?<br clear="none">
<br clear="none">
<br clear="none">
--<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:Oberon@lists.inf.ethz.ch" target="_blank" href="mailto:Oberon@lists.inf.ethz.ch">Oberon@lists.inf.ethz.ch</a> mailing list for ETH Oberon and related systems<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.inf.ethz.ch/mailman/listinfo/oberon">https://lists.inf.ethz.ch/mailman/listinfo/oberon</a><br clear="none">
</blockquote></div><br clear="none"></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>