[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Re: Manual - text colouring



In message <5734d55008Lists@xxxxxxxxxxx>
          "Richard Torrens (lists)" <Lists@xxxxxxxxxxx> wrote:

> In article <c60c7a3457.fjgraute@xxxxxxxxx>,
>    Fred Graute <fjgraute@xxxxxxxxx> wrote:
> > All colours that are in the ColoursStd file are configurable in the Mode
> > Choices window (both 4.69 and 4.70). Colours that are not available in
> > Mode Choices -> Colours can't be configured.
> 
> I was confused that the ColoursStd file showed 52 colour definitions -
> more than the choices -> colours. short answer - ignore the file!

Ah, now I understand the confusion. The colour files always contain all
the available colour definitions (whether used or not). The Elements
menu in Mode Choices -> Colours only lists those groups that are in
actual use, ie that have been defined in the ModeFile, to keep the menu
as short as possible.

> > > But two question for Fred: do you foresee any situation where the new
> > > 32 groups may be useful? None of the available modes actually use more
> > > than 12 groups!
> 
> > The number of groups was extended to 32 because of the assembler modes
> > (BasAsm, ObjAsm and Dump). Newer ARM CPUs have many more groups of
> > instructions (Neon, VFP) and I updated StrongED to support them.
> 
> > However I was running out of SyntaxWords groups (currently my copy of
> > BasAsm mode has 27 groups defined) so I decided to increase the number
> > of groups.
> 
> Makes sense! Other than colour, do the groups have any othe significance?

The groups define the colours and font style to use for the 'words' in
each group. They have no further meaning beyond that.

> Would a user need to know which group an item was in is they are the same
> colour?

That's up to the user. If it's important to know which group an item is
in then different colours should be used. I'm just providing the option
it's up to the users how they want to use them.

> > > Has anyone got any suggestions for colours?
> 
> > Or even entire colour schemes?
> 
> I found the dark blue used for Identifiers (HTML)  to be too close to
> black. Changed it to a more violet colour.
> 
> Which raises the question: how do we identify suggested colours? The
> number in ColoursStd seems to bear little relationship to standard 6 digit
> hex numbers.

The colours are defined as &BBGGRRxx (where xx is set to &FF) which is
the standard OS format, palette entry in ColourTrans speak (in ColDef2
it's named GCOL).

There is however no need to know the actual colour format as you just
set the colours using Mode Choices -> Colours.

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