News:

SimuTranslator
Make Simutrans speak your language.

r6656 line naming does not sort correctly when only one letter precedes number

Started by ӔO, August 19, 2013, 03:54:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ӔO

My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

Ters

Either it doesn't sort at all, or this is intended. I can't see this happening by mistake.

ӔO

It will do

A1
B1
A2
B2
A3
A4
...
A10
etc.

so it does sort, but the string in front of the number needs to be more than one letter before it will.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

kierongreen

This behaviour has been present since at least 111.2.2. As Ters say, I'm not sure whether this is a bug or a feature.

Ters

Strange feature. Sorting ignoring first letter doesn't happen by itself. Maybe it assumes that the first character is a parenthesis, as in (123) London-Paris.

prissi

Indeed it does, as those parenthesis will (or at least did) reappear after saving the line. Those were autogenerated and could not been edited away. Aparently this part of code broke then when free names were allowed.

Dwachs

Fixed with r6666.

Sorting will not ignore first character anymore (for the exception of opening parenthesis).
Parsley, sage, rosemary, and maggikraut.