Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

toggle comment on folding procedures #258

Open

Description

@zio-pietro

Prerequisites

Description

Selecting whole procedure (def line and body) and commenting/uncommenting it works only on unfolded source text. When folded, only def line is commented/uncommented

Steps to Reproduce

  1. Write any python procedure definition (def line and procedure body)
  2. fold it so only def line is visible
  3. comment it - visible line is commented out
  4. unfold it - all body line are still uncommented
    opposite situation:
  5. as above
  6. comment all proc unfolded -> all lines (def line and body) are commented out
  7. fold it
  8. uncomment folded proc -> visible def line is uncommented
  9. unfold it -> all body lines are still commented out

Expected behavior:
Comment/uncomment act on all procedure lines if folded, not only on visible line

Actual behavior:
See step to reproduce

Reproduces how often:
every time

Versions

Atom : 1.26.0
Electron: 1.7.11
Chrome : 58.0.3029.110
Node : 7.9.0
language-python: 0.49.4

Ubuntu 14.04

Additional Information

None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions