Edgewall Software

Opened 14 years ago

Closed 13 years ago

#403 closed defect (wontfix)

Transformer end() ends all selections, not active one

Reported by: anatoly techtonik <techtonik@…> Owned by: cmlenz
Priority: critical Milestone:
Component: Template processing Version: 0.5.1
Keywords: Cc:

Description

Transformer.end() say that it ends an active selection, while in fact it ends all selections.

Consider an example below and an output. If the end() ended only the active selection that was made last, the output between '-----' delimiters would match.

Attachments (2)

gentest.py (1.7 KB) - added by anatoly techtonik <techtonik@…> 14 years ago.
test file
output.txt (907 bytes) - added by anatoly techtonik <techtonik@…> 14 years ago.
output

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by anatoly techtonik <techtonik@…>

test file

Changed 14 years ago by anatoly techtonik <techtonik@…>

output

comment:1 Changed 13 years ago by hodgestar

  • Resolution set to wontfix
  • Status changed from new to closed

The docs don't actually use the word "active" they read:

End current selection, allowing all events to be selected.

I think the "allowing all events to be selected" is fairly clear. The current selection is the net effect of the proceeding select operations, not just the effect of the last select operation.

Note: See TracTickets for help on using tickets.