Ticket #7756 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Extra, unwanted text inserted in cells by shift-enter

Reported by: mpatel Owned by: was
Priority: minor Milestone: sage-4.3.1
Component: notebook Keywords:
Cc: Work issues:
Report Upstream: N/A Reviewers: William Stein
Authors: Mitesh Patel Merged in: sagenb-0.4.8
Dependencies: Stopgaps:

Description

Attachments

trac_7756-extra_text_shift_enter.patch Download (1.5 KB) - added by mpatel 3 years ago.
Minimal version ripped from #7666. sagenb repo.

Change History

Changed 3 years ago by mpatel

Minimal version ripped from #7666. sagenb repo.

comment:1 Changed 3 years ago by mpatel

The problem seems to be that the auto-indent code "fires" too often, e.g., when the shift key comes up before the enter key. The patch Download should fix this in Cr, FF, S, and O. If it does not, please let me know!

Note: I've extracted the patch here from the patch at #7666.

comment:2 Changed 3 years ago by was

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

This does indeed seem to fix the problem for me. Subtle.

Merged into sagenb-0.4.8.

comment:3 Changed 3 years ago by mvngu

  • Reviewers set to William Stein
  • Merged in set to sagenb-0.4.8
Note: See TracTickets for help on using tickets.