[josm-dev] Selection handling

Karl Guggisberg karl.guggisberg at guggis.ch
Sun Oct 11 10:04:49 BST 2009


Hi Dave,

I saw that your patch regarding selection handling was commited:
  http://josm.openstreetmap.de/ticket/3676

When you introduce a new "selection cache" in the future, could you make
sure it's *ordered*, i.e. it reflects the order in which primitives are
selected (could be a list, an ordered set, instead of a plain collection)?

This would be an important prerequisite for a couple of trac tickets asking
for
* adding the current selection as relation members *in order*
* picking the *firts* selected node as target node in node merging
* picking the *firts* selected way as target way in way combining

Thanks and regards
Karl 







More information about the josm-dev mailing list