+ elif event.key == pygame.K_PAGEUP:
+ file_idx -= 1
+ newfile = True
+ elif event.key == pygame.K_PAGEDOWN:
+ file_idx += 1
+ newfile = True
+ elif event.key == pygame.K_RETURN:
+ newfile = True
+ elif event.key == pygame.K_s:
+ source = bulletml.Bullet.FromDocument(
+ doc, x=150, y=150, target=target, rank=0.5)
+ source.vanished = True
+ active.add(source)