Skip to content

Add brace collapsing to E2 editor #754

@ghost

Description

Functionality is same as hiding functions, etc., but realization must be simple, I think

  1. "+" button after number for each line, containing '{' or #[
  2. when pressed, remember current formatting (spaces, newlines) and crop them to just single spaces, making whole content one-line.
  3. when clicked on that line, return formatting to edit and set button to '-'

That would definitely make a lot of people writing loooong e2's happy

  • I know about #include, but, taking in consideration e2's limitations, it's only usable for small, maybe for average-size e2's. When u write 5000 lines and must always think about size limit (about 227KB), includes only hurts.
    init_end

Metadata

Metadata

Assignees

No one assigned

    Labels

    E2This issue is related to E2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions