[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] SE v4.70a13 CtrlTab
- To: stronged@xxxxxxxxxxx
- Subject: Re: [StrongED] SE v4.70a13 CtrlTab
- From: Fred Graute <fjgraute@xxxxxxxxx>
- Date: Sun, 09 Dec 2018 13:54:41 +0100
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=casema.nl; s=201809corplgsmtpnl; h=MIME-Version:Message-ID:Subject:To:From:Date; bh=eZJTg8Pv/aM6sklqFdVHK5mOj/GoV2NbK+o9d/1no+s=; b=NAwZclhPi5U3GPjr191rFpHArR XuaS8pZ0DsyFe5QDOBBHYwO7pYKbsLmBkC6vB3/MDC4l7Qw0ptptesSQP1hyARnTzHTPkFTen3TRV f6+eaWbFgFtoM/p0yEkdJpDU9JEZfm7H8yEr+dwmShPiGjEsTs7Hv1I8YYIPvPoCwjianueuOpZnt J7oEg5Pcxe1mYwVEBN6XvODI4R/Jp7kOzmoTvOuIZlF4vVgzaVHoyyiUjRNvDIk6TOahnyScwLA4W Yd6KaxvwgUB3x4Y96X3w6SidVTceeC9Vrov6HlNXU0z9NXTXBx5AvcZ8c707Kf0XBeo3AHN4Z5ejx KH6baXGg==;
- Envelope-to: stronged@xxxxxxxxxxx
- In-reply-to: <5763aa3efelist01@avisoft.f9.co.uk>
- List-id: RISC OS StrongED mailing list
- References: <5763aa3efelist01@avisoft.f9.co.uk>
- Reply-to: StrongED@xxxxxxxxxxx
- User-agent: Messenger-Pro/7.06 (MsgServe/7.06) (RISC-OS/5.24)
In message <5763aa3efelist01@xxxxxxxxxxxxxxxx>
Martin <list01@xxxxxxxxxxxxxxxx> wrote:
> After installing a new a13, when I open files in some modes for the
> first time, I get a fleeting little message box which says
>
> Unknown bitmap style: 'CtrlTab' in mode 'xxx'
>
> where xxx is at least Obey and News
>
> The only places I can find CtrlTab is in lots of Defaults.Modes
> directories in ColoursStd and ColoursAlt files, in lines which say...
>
> BitmapStyle_Tabs:CtrlTab
>
> I can find no mention of BitMapStyle_Tabs in the SH Help file, so can
> anyone suggest what is wrong and where?
When using bitmap fonts StrongEDcan display special glyphs for Ctrl and
tab characters (see Mode Choices -> Font -> Bitmap font options).
The original implementation had the special glyphs located in character
positions 0-31, with Tabs taking up the first 4 positions. This meant
that Ctrl codes 0-3 would show glyphs for Tab rather than a small hex
number like the other Ctrl codes.
Over the years I've tried various ways of fixing this; including the -
in retrospect ill-conceived - CtrlTab font style. For 4.70 this was
changed again, hopefully for the last time, where the glyphs for Tab are
now at positions 256-259, away from Ctrl code glyphs which are at 0-31.
The CtrlTab font style has been dropped from the available bitmap fonts.
However the name might still be present in the ColoursStd & ColoursAlt
files inside Defaults.Modes/UserPrefs.Modes .
To get rid of the warning the name 'CtrlTab' needs to be replaced by
'Regular'. Fortunately we can use StrongED to do this in bulk:
- Make sure that there's no files loaded into StrongED
- Ctrl-Drag the Modes [*] directory to the iconbar icon
- Change Pattern to: *,**.colours*
- Click 'Load directory'
- Open the SnR dialogue box (s-F4)
- Set Search to 'CtrlTab' and Replace to 'Regular' (without quotes)
- Ensure Engine is set to 'Simple' and Scope to 'All'
- Click 'Go' and then 'Replace all' in the 'what next' window
- Open LoW window (Ctrl-L) and click Menu -> Save -> Save Changed
[*] You may need to do this twice, for UserPrefs and again for Defaults.
Restart StrongED when done and the warning should be gone.
Cheers,
Fred.
--
StrongED Developer
http://www.stronged.iconbar.com/
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives and instructions at
http://stronged.torrens.org/index.html