Keep Space Missions with Satellites in "except", leave "turn off the screen" alone, and part places after a compound country

"hide everything except space missions" (or "satellites") keeps both, as
switching either off takes the other. "turn off the screen" is no longer
read as a switch with "off the screen" taken off it, which left a place
search. A place joined after a compound country is another place ("near
Trinidad and Tobago and Barbados"), and a compound country after another
place stays whole ("near Paris and Trinidad and Tobago"). Only a word for a
kind of place written after a name ("Island", "City") drops a plan, so
"earthquakes lake tahoe" and "traffic tower bridge" keep theirs. Two doc
comments are back above their code.

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-18 18:11:18 -08:00
1 parent 25d33a2e6f
commit 859aa172e7
4 files changed
+119 -16

No files matched your search

+5 -2
View File
@@ -7973,7 +7973,9 @@ offered after it; a line with neither ("hi", "NY", "?") runs nothing. "hide ever
Tokyo. "hide everything except flights" (or "all but", "other than", with
"turn off", "clear" or "remove") switches off every layer that is on but
the ones named, on Enter, or says no other layers are on; with a layer to
keep that is not read, nothing is switched off and only Ask GEV is offered. "remove flights from the
keep that is not read, nothing is switched off and only Ask GEV is offered.
Space Missions and Satellites are kept together, since Space Missions draws
through Satellites. "remove flights from the
map" is "remove flights", a doubled verb ("hide hide everything") is read
once, and a grid reference after "near" is the place ("flights near 14R PU
2090 4906"). Following needs a callsign or ICAO address (letters and a digit), a
@@ -8006,7 +8008,8 @@ layer ("go to Tokyo, north up"). A line with one keyword and no verb beside
the rest of a name ("Tilt Cove", "tokyo traffic", "Hurricane, Utah") offers
the whole line as a place first and the plan second. When that keyword
starts the line with no comma after it and the rest starts with a word for
a kind of place ("Fire Island", "Radio City Music Hall"), it begins the
a kind of place written after a name ("Fire Island", "Radio City Music
Hall"; not "Lake Tahoe" or "Mount Fuji"), it begins the
name: the place and the layer are offered, and no plan goes to the rest
("earthquakes japan" keeps its plan). Further places joined
with "and" are offered as their own rows. Things loaded on the map that