Target segment selections always select full tags (related to OC-24)

    Adds a CaretListener to the segment cell editor to expand text
    selection to include entire tags. This will simplify copy/paste
    implementation later on.