Changeset 1375 in josm for trunk/src/org
- Timestamp:
- 2009-02-07T22:13:29+01:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/search
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r1291 r1375 90 90 + "<li>"+tr("<b>selected</b> - all selected objects")+"</li>" 91 91 + "<li>"+tr("<b>incomplete</b> - all incomplete objects")+"</li>" 92 + "<li>"+tr("<b>untagged</b> - all untagged objects")+"</li>" 92 93 + "<li>"+tr("Use <b>|</b> or <b>OR</b> to combine with logical or")+"</li>" 93 94 + "<li>"+tr("Use <b>\"</b> to quote operators (e.g. if key contains :)")+"</li>" -
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r1213 r1375 293 293 } 294 294 295 private static class Untagged extends Match { 296 @Override public boolean match(OsmPrimitive osm) { 297 return !osm.tagged; 298 } 299 @Override public String toString() {return "untagged";} 300 } 301 295 302 public static class ParseError extends Exception { 296 303 public ParseError(String msg) { … … 376 383 } else if (tok.equals("incomplete")) { 377 384 return new Incomplete(); 385 } else if (tok.equals("untagged")) { 386 return new Untagged(); 378 387 } else if (tok.equals("selected")) { 379 388 return new Selected();
Note:
See TracChangeset
for help on using the changeset viewer.