- //$g of the scenery file went before the origin of //$o, also where the user had aligned the photo by hand in the editor: the
alignment was gone on the next opening. An origin typed in the editor is written into //$o with the word "aligned", and such
an origin goes before //$g. The word is optional: a release before it passes it over and reads the origin as before, and an
//$o without it is read as before. "Use it" (the origin of //$g) takes the word off.
- The zoom turned the 4K photos on for the 3 x 3 tiles around the camera, as the setting for them does: up to about 0.75 GB of
the memory of the graphics card, unasked. By the zoom alone the 4K photo is the tile under the camera (about 85 MB); the
setting keeps the 3 x 3.
- With the editing on the model, setup_store() took the //$u lines out of the scenery and left the assumptions to the project
of the model, which is written after the scenery and may fail to be: then they were in neither. The scenery keeps the line
as well; the project's is read first, as before.
- A texture typed into the assumptions and cleared again left the lay tool with the one typed: empty is the tool's own.
- model_plan_preview() keyed on vertex.position, which a drag of the first or the last vertex of a line with two or more
curves doesn't change (it moves vertex.offset along the tangent of the end): the green or red line and the text of the norms
froze after the first frame, and the release could be refused where the preview showed it within the norms. The key has the
offset now.
- parallel_build() laid the whole line with model_parallel beside a managed line whatever the scope, so "This path" on a 50 m
track of a 2 km line previewed 50 m and laid 2 km. The model's parallel line is laid for the scope of the whole line only.
- Esc during a handle drag restored the design but left the preview of the model on screen.
- keep_old_tracks() kept all the events on the first piece of an old track. The simulator fires event1 as a vehicle enters a
track at its Point2, event2 at its Point1 and event0 while it stands on it (TrkFoll.cpp), so with a 120 m track cut into 40
and 80 m a train running towards Point1 got event1 about 80 m late, and one standing on the second piece no event0. Now each
piece gets event0/eventall0, the piece at Point1 event2/eventall2 and the piece at Point2 event1/eventall1. The keywords are
compared in any case, as the simulator lowers its tokens.
- The joints of the old tracks kept their chainages through move_vertex, set_vertex, insert_vertex and remove_vertex: widening
a 90° curve by 20 m shortens the line by about 8.6 m, and a joint past the new end was dropped, a short buffer-stop or signal
track there with its name, events and circuit. Each joint now goes to the point of the new line nearest to where it was.
solved_line::nearest() is shared with the crossover planner.
- Sonar: the seeded generators of the takeover tests are marked (S2245), two dereferences after a REQUIRE too (S2259).
- record_written() erased every record of the line and added only the pieces written in this save, while the scenery writes
only the tracks changed since. After a gizmo move and Ctrl+Z on one track of a line, the next save kept a record of that
track alone: on reopening the line owned one track, and the next Plan edit left the others as duplicates. The records of
the tracks the line still has and this save didn't write now stay.
- model_run() kept each command before trying the next: with the radius of one vertex carried out and the cant of the next
refused, the first stayed changed under "Refused, nothing changed". Several commands are now all tried on a copy first.
- The fingerprint of the scenario index made a string of every file name before its .scn filter, which throws on Windows
outside of the code page, on a detached thread (the class of GE#560). The extension is looked at first, as in the index
itself; scenery_text::name_of() and has_extension() are shared by both.
- A Del deferred by the check of the scenarios reads Shift as it was at the key press, not at the click on "go on".
- open_project() writes no project file for a map with nothing to migrate (#461): the session test expects that.
- The migration mapped L to hand 1, but switch_store::classify() writes R where the diverging end lies to the positive cross of
the direction, which is the side of hand 1 of the domain (its curvature above 0 turns that way). Every migrated switch came
out mirrored, and the test checked hand == 1 for an L record without looking at where the diverging end lies. R is hand 1
now, and the test checks the side of the diverging end.
- classify() writes a switch bent into a curve as Rlj or Rld with the radius of the ordinary switch it's bent from; the
catalogue has it as an Rz, so no bent switch could migrate. They're looked up as Rz.
- catalogue_type() took the first loose match. A movable nose isn't in the record, so the ordinary frog is taken where the
catalogue has both; a record fitting two other types (the variants of an Rpd) is kept as it was, why with it.
- Slips and crossings are kept as they were, as the header of the migration says.
- Smaller: the type looked up is checked before its length is read; new diverging, slip and crossing tracks get the
chainage of the turnout as a diverging track had before; the walk of a bent transition stops on a step that turned nothing
instead of dividing by it.
- Sonar: the leg check skips an end whose turnout isn't found (S2259), the spacing of a crossover is measured in whole steps
counted in an integer (S2193), the seeded generator of the turnout kinds test is marked (S2245).
lay_panel_state() told the line laid from laid_step == m_history.size(). Lay, Ctrl+Z, then any one-step edit made the size the
same again, and the panel said "Laid … Ctrl+Z undoes" for a line that was gone; at the cap of 200 steps it stayed "laid" for
good. The panel now compares the serial of the step on top of the history (EditorSnapshot::serial), which each step made has
of its own.
- The scenario index made a string of the name of every file in the folder, which throws on Windows for a name the ANSI code
page can't hold (the class of GE#560). It looks at the extension first and leaves out a .scn the game couldn't open by its
name either; the messages of the project file show paths as UTF-8.
- The includes are read with the FileCased() fallback of the game (scenery_text::file_text), so on Linux an include written in
another case no longer drops the scenario from the index, skips the migration of its file or marks its tracks as changed by
hand.
- save() closes the file before looking at it: a failed last flush no longer renames a truncated .new over the project.
- "next node 0" is refused instead of wrapping to 0xffffffff.
- open_project() writes no .eu07proj when there were no //$ lines to migrate, and asks exists() without throwing.
- lay_diverging() didn't look at turnout_frame::valid: with the main track unsolved the diverging track was laid from the origin
and settle moved its end node there. Edits were rolled back by the check, but nothing refused it at its source. It now
returns an error, for every caller.
- whole_path() took Pieces.front() of a track the cutter gave no pieces of; the switch track is refused with the reason.
- Sonar: the turnout lookups of the node and network checks are guarded (S2259), the search of the free transition and the
test loops count in integers (S2193; 2 m steps, the same values as their sum), the seeded generator of the turnout edits
is marked (S2245).
nmt_decline_offer() turned off terrain_while_laying and terrain_model().area in the settings of the editor and saved them, so
one Without terrain for a scratch scenery left the terrain off for every scenery opened later. The answer now holds for the
scenery open only (nmt_state::declined, read through nmt_area()); the checkbox of the terrain panel shows it and, ticked, turns
the terrain on again and keeps it in the settings. The nmtquestion self-test no longer writes the tester's settings, and fails
the run if the answer changed them.
- A Bloss transition went to the norms as an even one: 60 m into R 600 m at 100 km/h showed 63 mm/s of deficiency change,
where its middle reaches 109 mm/s, past the hard limit of 80 mm/s, so the edit wasn't blocked. norms::element::bloss makes the
engine follow 3t^2 - 2t^3 of the curvature, look at the transition in eight pieces, and take the shift as L^2 / 40R instead
of L^2 / 24R. Two Bloss halves no longer run on into one element of the chain.
- split_line right at the tangent point of an arc without transitions was refused ("the tangent there doesn't cross the
tangents of the curve"): the curvature there is already the arc's, so it now takes the start or the end of the curve.
- Sonar: the chain walk, describe_chain and check_norms check the lines they look up (S2259), join_ends returns when an end
isn't found rather than when a reason was given (S836), the test loops count in integers (S2193), the seeded generator
of the random edits is marked (S2245).
- TSI INF and EN 13803 limit an abrupt change of the cant deficiency but give no intermediate length, so two jumps a few metres
apart were each checked alone: at km 478 of the golden line CH reported 191 mm over the TSI limit, TSI itself nothing. With
no intermediate length in the profiles of the element, the longest any profile asks for is taken. The golden report changes
that way: TSI gets the 191 mm hard limit at km 478, EN reports it instead of 106 and 85 mm one by one.
- forget() moves the span whose findings alone are kept (a diverging track) down by the spans removed before it, and drops a
queued line whose own span was removed, instead of leaving the index on another span.
- The report test of R 400 / 80 mm runs at 90 km/h and requires the finding: at 80 km/h there was none and the check never ran.
- A normal test checks that known_lost.scn and each of its entries are there and read, so the should_fail tests can't pass for
data gone missing.
- The comment of test_cant.cpp said the tests of cant_of_roll()/roll_of_cant() are here; they are the self-test case
1_inspector_cant.txt, as the unit tests don't link the editor.
- A blank line or an indented `#` comment in a script is no longer a command no group takes.
- `trackcant`, `routegauge` and `tracksetdelete` with a track that isn't there count as a failed expectation.
- `expect shaped <switch> <yes|no>`: 7b checks that the gizmo drag bent the switch out of its record before deleting it.
- The ramp-length loop of test_alignment counts in an integer (Sonar S2193).
- The cant typed in the inspector goes on into the track joined at that end, as the gizmo and the
joints tool do it; the neighbours go into the same undo step. The joint stepped before.
- A track laid on from a canted joint takes the cant off along the ramp the norms ask for at the
speed (`alignment::cant_ramp_length`), not at a fixed 1.5 mm a metre whatever the speed and the
norms: 120 mm at 100 km/h over 120 m, not 80 m.
- Deleting a track of the line under the route tool keeps the laying norms. They went back to the
defaults, and every later lay, extend and join used those.
- The gauge is a paste group of its own, off by default: pasting how a track rides or sounds no
longer changes its gauge.
- The speed of a turntable set in the editor is the one saved. The editor changed the speed the
turntable runs at, while the file keeps the limit it was loaded with.
- Deleting a set of tracks does what Del does with each: a double switch, a slip and a crossover go
whole, the records of the switches go with them, and the model and events of a turntable too. The
records stayed behind and on saving were given to another switch, which then showed a wrong type.
- Deleting a switch of a crossover takes the crossover out whole, as the connection tools do: the
outer track of a crossover on a curve comes down by its lift and the record of the connection
goes. Alone, the switch left the outer track up for good, and the connection to the next switch
given its name. A switch bent out of the shape of its record is found by its name.
Tests: a unit test of the norm ramp. The other changes are in the editor's UI, which the unit tests
don't reach.
The 3d scene is drawn under the whole window and the windows took the opacity of the simulator's interface (ui.bg.opacity,
0.65 in the ini of the game): the tracks and the models beside the view showed through the docks around it. The editor's
windows are opaque now; the ones over the view meant to be seen through set their own alpha as before. The simulator keeps
ui.bg.opacity for its own interface.
ph_1: the photo turned off with the button of the toolbar stays off over the wizard's //$o on 1 when the scenery is opened
again, on again after the next. ph_2: the first L in a scenery placed on the map asks nothing, the terrain loads in the
background with its line in the panel of the laying, Without terrain stops it. ph_3: the tracks drawn over the photo in the top
view zoomed in under 0.5 m a pixel, not without the photo. ph_4: the button and ~ are the user's choice, the terrain of the model
made afterwards doesn't turn the photo on again, F1 opens.
fs_3 still checks the answer Without terrain, now the button of the line which took the place of the question in a window, and
that no window asks. New for the scripts: expect photo <on|chosen|zoom4k|tracksover>, expect terrain <loading|question>,
toolbar <key|name>, orthophoto forget, and the key grave (~) for tap.
The map the centre of a new scenery is clicked on (and the one of the terrain panel) showed the base map of OpenStreetMap
alone. Zoomed in to 40 m a pixel or finer it shows the orthophoto of GUGiK now, the same WMS as the photo under the scenery in
the editor; further out the map, with "Zoom in for the photos" while the photos are chosen. Map | Photos in its corner
switches between them, the photos chosen at first. Whose the picture is, is told by the line under the steps of the wizard
and, for the photos, in the corner of the map: GUGiK, geoportal.gov.pl, or OpenStreetMap for the map.
The toolbar of the tracks has the photo: its button shows or hides it for the scenery, as the user's choice, and while it's
shown over the view a slider of its opacity is beside it, kept with the editor. ~ (and Ctrl+~, which turns it on to hurry the
view's tiles) count as the user's choice now: turned off with ~, the terrain model made afterwards no longer turned it on
again behind the user. ~ and Ctrl+~ are listed in F1 with the camera.
The first L in a new scenery with no tracks nor terrain asked in a window whether to load the terrain. Now nothing is asked:
where the scenery lies on the map the terrain model loads in the background around it, as the answer Load the terrain did, and
a line in the panel of the laying says "Terrain: loading..." with Without terrain, which stops it as that answer did; it goes
once the terrain is in. A scenery not placed on the map has Place it... there, to Terrain (F5). Whether a new scenery gets its
terrain by itself is a checkbox of the settings of the terrain loading, where the window had it. A download of the model that
failed is told there, and in the banner of the loading and the terrain panel, in plain words as the photo tells its own, not
as the code of WinHTTP (which stays in the log).
A tile of the photo no longer waits for the chunks of the terrain still to come under it: it lies flat at the height of the
ground found last (of the layer before any was) and goes onto the ground as it comes. The window and its strings are gone.
The photo is drawn over the view, the 3d tracks under it: zoomed in under 0.5 m a pixel they were left to the 3d tracks and
the photo dimmed them. With the photo shown over the view the tracks are drawn over it there too, as their two rails in the
colour of the rails of the top view where they're apart on the screen, so the tracks laid and the ones of the photo are seen
together; the tracks being laid are drawn after them, on top. How many were drawn in the last frame is kept for the self-test.
The download area grows by itself where the camera or the laying comes within a tile of its edge: the tiles of 5 x 5 around
them added to its tiles, as one outline along the grid with its holes filled, now and then (5 s apart at least) and not past
1600 tiles; the status line tells it, and the limit once. The area is saved with the scenery as before.
A tile which failed is tried again later and later, up to 5 min apart, and never given up for good, around the camera and in the
area alike. The ones failed are outlined red in the view, and the status bar tells how many with the reason in plain words
(no connection, the server didn't answer, ...) in place of the code of WinHTTP, and Retry (Ponów) at once.
The 4K photos (6 cm/px) of the tiles next to the camera come by themselves with the view zoomed in to 15 cm a pixel, and go
again past 25 cm, within the limits on the 4K downloads as they were; the area is put into the cache in the products of the
setting alone.
The photo on or off is the scenery's now, as the user left it in it: a global off kept by the editor no longer hides the photo
of a scenery the wizard made with //$o on 1, and the old global choice is left behind. With nothing chosen in the scenery it's
as the scenery keeps it, else off, and the terrain model turns it on where the scenery lies on the map.
The origin of the scenery is taken from //$g of its file before the one the editor remembered for a scenery of that name, or
wrote into //$o with it; where they're apart by more than a metre the status line says so, and the settings of the
orthophoto tell that an origin typed there is for the session.
The rules the photo goes by stand on their own (editorPhotoRules), with their unit tests; the settings of the editor are read
and written through a stream, so they're tested without the user's file.
editor-project-setup.md: a new user drew with no word of what: the norms, the speed, the gauge and the rail lay about the panels, set
on the way. Now one short step, "What do you draw?" (Co rysujesz?), one screen of defaults and one button:
- The fields: the norms (PLK ST-T1-A6, TSI alone, EN 13803, CH; PLK by default, no "none": a fictional scenery has a profile too), the
speed of the line (chips 40..200, 100 km/h), the traffic, a main or a side track, the gauge (1435 / 1520 / 1000 / 750 / 600 mm),
the rail (60E1 / 49E1 / S42), the look of the tracks under More (the rails and the trackbed as now where left empty).
application/editorsetupui.* draws them for all three places below.
- Asked for as the last step of the wizard of a new scenery (4., or 2. for a fictional one; its button Start: create and open in the
editor), which writes them into the new scenery; and in a scenery with none, as a card in the inspector of the tracks in place of the
first steps, until its Start. Changed later in their window, Assumptions of the project, from the editor settings or the line of
them under the first steps in Tracks; a change checks the lines laid before against them, the report in the window of the norms,
nothing laid changed by it.
- Kept with the map (editor/editorProjectSetup.*, one record "setup norms plk speed 100 traffic mixed track main gauge 1435 rail 60E1"):
in its project file where it has one (a record of its own; the profile of the scenery the model judges by set with it), else in the
scenery as //$u lines, which the simulator skips and the scene layers keep as a mark of the editor. Read when the map is opened, the
project file first. A scenery saved without them holds nothing new.
- The defaults of the tools from them: the speed of the laying and of the route design, the gauge and the rails and the trackbed of the
tracks laid, the norms checked against, the rail of the switch tool and the usual switch of the rail for the speed on its diverging
track (the closest speed, the ratio usual for it). A route with no speed of its own takes the speed of the assumptions.
Self-test: setup [<key> <value>]..., setupwindow [close]; expect setup none|<key> <value>, expect setupmark <present|absent>, expect layspeed <km/h>. The cases
ps_1_setup_saved (set, saved into the scenery, read back after a reopen) and ps_2_setup_project (into the project file with the
editing on the model, read from there after a reopen with it off).
Tests: U: the record written and read back, the defaults, what it can't read, the class of the line, kept in the project file.
lang/editor_pl.po: the Polish of the new texts.
The last part of E4b (E4a left it): a track the generator made, written into a layer of another placement than the one its entry was
made for (a file under an origin), went by its own export, recorded by none, and the scenery opened again took its line for changed by
hand.
- project::moved_entry: the entry of a track of the generator, a plain track or a switch track, as written into a file of another
placement: the points of its paths moved by the difference of the origins, in the shortest form of the generator, the control vectors
as they are. The save writes it so and records it, the track keeps it as its text for the next save; reopened, the checksums of the
file are the ones recorded.
Self-test: tests/editor/run.py takes a line `#> append <text>` of a case, added at the end of the copy of the fixture. The case
m_14_layer_origin (a line of the model laid under origin 2000 0 0, saved, reopened, saved again and reopened: nothing changed by hand).
Tests: U: the entry of a track moved for a file under an origin, its control vectors as they were; not moved, the checksum the same.
Continues E4b (editor-tracks-domain.md §8, "Odsuń tor równoległy"): with the editing on the model on, the parallel tool beside a track of
a line of the model lays a new line of the model at the spacing, one create_line, checked by the norms.
- editor/layout/layoutParallel: the line alongside a line, pure: the legs of the tangents offset, the vertices where the offset legs
meet, the arcs concentric with the line's, the radius less on the inside of a curve and more on the outside, the transitions recomputed
from the shift of the arc so the centre stays the line's; the cant and the class of the line, its grade breaks at the same share of
the length. In a curve the spacing is widened by the widening of the gauge of both tracks on the sides facing each other (PLK tom II
annex 1, gauge::curve_widening, under R 250 m), where the transitions of the curve can take it; where they can't, told so. The norms
of the track geometry have no spacing of their own yet.
- The tool tells the line laid, the spacing in each curve widened, what the norms warn of; refused, why, nothing changed.
Self-test: expect modelspacing <line> <other> <m> <low> <high>. The case m_13_parallel (a line laid on the inside of the curve of a line
of the model, 4.5 m on the straight and in the arc, one step).
Tests: U: the line alongside a straight and alongside three curves on both sides, laid, the arcs concentric within 2 mm; alongside a
curve of R 200 m the spacing widened by the gauges, the transitions longer on the inside and shorter on the outside; not widened where a
curve has no transitions, told why.
lang/editor_pl.po: the Polish of the new texts.
Continues E4b (editor-tracks-domain.md §4, §8): two edits E4a left.
- The route design of a line of the model adds a curve at a distance from its start (insert_vertex: a vertex on the leg of the tangents
there, no curve until it's dragged off the line, then of the radius of the lay tool) and takes the curve of a vertex out
(remove_vertex), a command each, the design read again from the model; a handle dragged told above them.
- The lay tool laying from the free end of a line of the model, or to one, makes the new line go on from the node of that end, shared,
not a free node of its own beside it: create_line given the node (layout::create_line::start_node, end_node: a free end of a line of
its own, the line leaving it along its heading or against it as its first leg does), its leg there put onto the tangent of the node, so
the line goes on with no kink. Its tracks and the other line's end at the numbers of the node, to the bit, also after a save and a
reopen.
Self-test: modelvertexadd <m>, modelvertexdel <index>; expect modelvertices <line> <count>, expect modelnodes <count>. The cases
m_10_grade_curves (a curve added, bent, taken out, a step each) and m_12_lay_from_end (a line laid on from a free end shares its node, the
ends to the bit after a reopen).
Tests: U: a line laid on from the free end of another one and back from its start share the nodes, a node of two ends no free end, a kink
refused, undone the node free again.
lang/editor_pl.po: the Polish of the new texts.
Continues E4b (editor-tracks-domain.md §0 pkt 2, §8 "Przesuń wierzchołek", "Zmień R / L / D wierzchołka"): the route design opened on a
line of the model has its handles on the map, a vertex and the grip of the radius of each curve.
- While a handle is dragged the change is tried on a copy of the network as it goes: the line as the model would lay it drawn over the
map, green, or red where it's refused, and by the mouse and in the panel why it's refused or what the norms say of it ("The norms:
2 notes"). Let go, it's one command of the model: move_vertex for a vertex moved, set_vertex for a radius dragged; a vertex moved and
its curve changed at once one set_vertex with its place (layout::set_vertex::point), one step. The first and the last vertex of a
line of two or more go along the tangents of its ends, as the route design drags them.
- No gizmo on the tracks of a line of the model, nor the points of their paths dragged by hand: the line is edited through the route
design. The gizmo stays for the old tracks and the models.
Self-test: modelplan opens the route design in the field of the tracks; expect modelvertexat <line> <index> <x> <z> <tolerance>, expect
modelpreview <shown|none>. The case m_11_vertex_drag (the vertex dragged with the mouse, the preview told while it's held, one step).
Tests: U: a vertex moved and its curve changed by one set_vertex, one step, taken back.
lang/editor_pl.po: the Polish of the new texts.
Continues E4b (editor-tracks-domain.md §8, "Zmień załom lub Rv niwelety"): with the editing on the model on, the profile tool opened on a
track of a line of the model is the profile of the whole line, its points the breaks of the grade line as the model has them with their
vertical radii, the heights of the ends its nodes'.
- Applied, the points between the ends are set_grades of the line (chainages along it, the route run along it or against it), a break
with no radius given the one the line needs; the model is the judge of it, before the checks of the profile tool: refused, nothing
changes and the profile tells why in red; kept, one step, the tracks made anew, the profile read again from the model, what the norms
warn of under it. The heights of the ends aren't changed here: a line of the model keeps the heights of its nodes.
Self-test: modelgrade <track> <m> <height> <vertical radius> (a break put into the grade line of the profile opened on the line, applied),
expect modelgrades <line> <count>. The case m_10_grade_curves (a break 1 m up taken back and brought again; one too near the end to be
rounded refused, nothing changed).
lang/editor_pl.po: the Polish of the new text.
Continues E4a (editor-tracks-domain.md §7, §8; stage E4b): with the editing on the model on, a switch dragged on a track of a line of
the model is a turnout of the catalogue of the model, and so on, each a command, refused with the reasons or one step of the history.
The switches of the old tracks are laid the old way.
- The drag of the switch tool, let go on a line of the model (on a straight or along a curve), is insert_turnout: the type of the
catalogue the template is of (a template of the user's own isn't), its start where it was pressed, its chainage on the line
(layout::chainage_of), the side of the drag its hand, the way it was dragged its direction. While it's dragged the panel tells in its
red line why the model would refuse it, tried on a copy; let go, a refusal is told there with the value, the limit and the paragraph
("(9.6 pkt 16)"), nothing changed. Laid: its switch track made by the generator (t<n>), selected, the panel placed, its speed told.
- A turnout of the model selected: the inspector shows its type, side, speeds and bending, the templates of its kind of the catalogue
(change_turnout), the other side (change_turnout of the hand), moved by a distance (move_turnout), taken out (remove_turnout). The
slide of the switch tool moves it, another template changes it, Del takes it out (after the scenarios are looked through), each a
command. Plan on a track of a turnout doesn't open: the turnout is edited through itself.
- A crossover dragged between two lines of the model is connect_tracks of the solver of the connections; refused, the solver's best
proposal is told with the reasons ("Proposal: Rz 60E1-300-1:9 needs them 4.498 m apart").
- The tracks after a command: of a turnout one of whose tracks changed, its tracks of the simulator made again whole, kept by its main
track (kind switch, the plain tracks of a double switch, a slip or a crossing with them); written with the scenery as the generator
made them, recorded in the project with their kind and the file each went into (session::record_written of pieces of several files),
found again when the map is opened, nothing taken for changed by hand. project::session::generate(turnout_id).
Self-test: modelturnoutside <track>; expect modelproposal <holds|lacks> <text>, expect handlines <count>; expect modelends checks the
paths of the switch tracks at the numbers of the nodes; a crossover of the connection command between two lines of the model goes to
the solver of the model. The cases m_8_turnout (a turnout dragged on, taken back and brought again, moved, given another type and side,
taken out by Del; one 2 m off the end of a cant ramp refused, nothing changed; saved and found after a reopen) and m_9_crossover (a
crossover between lines 4.75 m apart, one between lines 4 m apart refused with the proposal).
Tests: U: the chainage of a point on a line and its distance; the switch track of a turnout made by the session, the tracks of a line
written into two files recorded.
lang/editor_pl.po: the Polish of the new texts.
The first part of E4b (editor-tracks-domain.md §8; E4a left the messages of the model in English): what the model refuses a command for,
and what the norms warn of, reach the user through the catalogue of the editor, the model staying as it is, English and pure.
- The editor layer formats them: a message of the model is matched against the forms it's made by (a BLOCK limit along a line, a finding
of the norms with its value, limit and paragraph, a rule of a turnout, a line or a vertex which can't be laid, the solver of the
connections and its proposal...), the form of the catalogue (STR) filled with its numbers and names, the parts which are messages
of their own (the name of a parameter of the norms, what a line or a turnout is refused for) shown so in turn; a whole message the
catalogue has, as it is. One with no form stays English.
- The editing on the model keeps both: what the model told, English, for the log and the self-tests, and what the user reads, in the
route design, the lay tool and the panels of E4b. The window of the application is split off editormodemodel.cpp into
editormodemodel.h, shared by the files of E4b.
Self-test: expect modelmessage holds or lacks the text in either of them, so the cases run in any language.
lang/editor_pl.po: the Polish of the forms and of the names of the parameters of the norms the editor hadn't yet.