Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Side by Side Diff: dart/site/try/bugs/single_line_delete.dart

Issue 345553008: Fix issues that broke editing on browsers without Shadow DOM support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Johnni's changes, and fix bugs found during testing. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | dart/site/try/src/decoration.dart » ('j') | dart/site/try/src/selection.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 var greeting = "Hello, World!";
6
7 void main() {
8 // Put cursor at end of previous line. Hit backspace.
9 // 1. Ensure this triggers a single-line change.
10 // 2. Ensure the cursor position is correct.
11 // Then restore the file and place the cursor at the end of the file. Delete
12 // each character in the file by holding down backspace. Verify that there
13 // are no exceptions and that the entire buffer is deleted.
14 // Then restore the file and place the cursor before the semicolon on the
15 // first line. Hit delete and verify that a character is deleted.
16 print(greeting);
17 }
OLDNEW
« no previous file with comments | « no previous file | dart/site/try/src/decoration.dart » ('j') | dart/site/try/src/selection.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698