Gráfico de Commits

  • a4976c32ae Remove release notes from event payload Kevin Sawicki 2015-02-03 14:52:59 -08:00
  • 78b8039384 Don’t require sync update before measuring when autoHeight changes Nathan Sobo 2015-02-03 13:56:45 -07:00
  • cd77870286 In presenter, handle the first line being soft-wrapped Nathan Sobo 2015-02-03 13:30:42 -07:00
  • 75652e36d9 Remove ? guard from ::oldState and ::newState references Nathan Sobo 2015-02-03 12:20:22 -07:00
  • 9991cd73c7 Reference scrollingVertically in the proper location in presenter state Nathan Sobo 2015-02-03 12:20:06 -07:00
  • ac215e11b4 Fix velocity scrolling upward Nathan Sobo 2015-02-03 12:19:42 -07:00
  • 20ce35c017 Emit update events in TextEditorPresenter when highlights are removed Nathan Sobo 2015-02-03 11:38:54 -07:00
  • edd595a72f Access mouseWheelScreenRow property instead of calling removed method Nathan Sobo 2015-02-03 11:38:28 -07:00
  • 0a6116a785 Fix undefined method errors in overlay manager Nathan Sobo 2015-02-02 23:41:43 -07:00
  • 2dc29a60ef Avoid full decorations query when decorations are added Nathan Sobo 2015-02-02 23:28:57 -07:00
  • b78522d8e6 Avoid full decoration query when line decorations’ markers change Nathan Sobo 2015-02-02 23:28:42 -07:00
  • c6f23c2edb Dispose of decoration subscriptions when it’s destroyed Nathan Sobo 2015-02-02 23:28:22 -07:00
  • 342903567e Avoid full decoration query when line decorations are destroyed Nathan Sobo 2015-02-02 23:03:38 -07:00
  • 648c58d41e Hide line decorations for invalid markers again Nathan Sobo 2015-02-02 22:53:46 -07:00
  • 7deb411e84 Fix randomized spec failures Nathan Sobo 2015-02-02 22:38:42 -07:00
  • cf50ec1861 Fix action logging in random spec Nathan Sobo 2015-02-02 22:09:25 -07:00
  • 4a74d4adba Avoid decoration queries when updating individual highlight decorations Nathan Sobo 2015-02-02 21:51:11 -07:00
  • f337553a70 Handle highlight state updates in ::updateDecorations Nathan Sobo 2015-02-02 21:25:01 -07:00
  • 0e85efdd28 🐎 Cache line/line-number decorations to avoid per-line queries Nathan Sobo 2015-02-02 19:42:48 -07:00
  • 3884a30f39 Unify decoration observation Nathan Sobo 2015-02-02 16:44:34 -07:00
  • f99b85a299 Use properties directly instead of getters Nathan Sobo 2015-02-02 11:11:42 -07:00
  • de5c1fc28d Add randomized fuzz test for TextEditorPresenter Nathan Sobo 2015-01-30 13:04:20 -07:00
  • 89344c6cfd Update scrollbars state when editor content changes Nathan Sobo 2015-01-30 12:32:16 -07:00
  • 74e4756ef0 🐎 Don’t update presenter state unless measurements change Nathan Sobo 2015-01-29 15:33:25 -07:00
  • 510520d2c7 🎨 rename ::getStart/EndRow to ::computeStart/EndRow Nathan Sobo 2015-01-29 15:31:31 -07:00
  • 4eb39b1be2 Remove unnecessary onDidChangeSoftWrapped subscription Nathan Sobo 2015-01-29 15:15:34 -07:00
  • 9d507ea692 Break out state updates explicitly when editor content changes Nathan Sobo 2015-01-29 15:13:27 -07:00
  • f005b2005f Add specs for updating scrollWidth when the longest line changes Nathan Sobo 2015-01-29 15:13:10 -07:00
  • b521e8dc97 Handle auto-height in TextEditorPresenter Nathan Sobo 2015-01-29 15:05:15 -07:00
  • bbc1a264b5 Make each section of presenter state self-contained Nathan Sobo 2015-01-29 14:27:53 -07:00
  • da4b3a47ef Don’t observe decorations in text editor view Nathan Sobo 2015-01-29 08:42:21 -07:00
  • 0e27bebbb3 Fix indentation Nathan Sobo 2015-01-29 08:37:46 -07:00
  • efdba9fc24 Use presenter state for scrollbars and scrollbar corner Nathan Sobo 2015-01-28 19:29:31 -07:00
  • 0910e86357 Add .right and .bottom to presenter scrollbar states Nathan Sobo 2015-01-28 18:54:50 -07:00
  • 14776e3f0a Give each scrollbar its own state object and track visibility Nathan Sobo 2015-01-28 18:44:10 -07:00
  • 42ab02d7d2 Rename ::clientHeight/Width to ::height and ::contentFrameWidth Nathan Sobo 2015-01-28 17:59:18 -07:00
  • 1b5be9aef8 Track horizontal/vertical scrollbar height/width in presenter Nathan Sobo 2015-01-28 17:50:42 -07:00
  • 9de8ab949f Drop TextEditorComponent::getRenderedRowRange Nathan Sobo 2015-01-28 17:36:42 -07:00
  • 6108c04f40 Add spec coverage for deprecated ‘cursor:moved’ event Nathan Sobo 2015-01-28 17:24:36 -07:00
  • d8cafb1fc6 Don’t observe screen line changes in editor component Nathan Sobo 2015-01-28 17:12:40 -07:00
  • 76241fb779 Handle line and line number preservation in presenter Nathan Sobo 2015-01-28 16:55:49 -07:00
  • d9a5d141eb Clear ::mouseWheelScreenRow after delay even if we don’t actually scroll Nathan Sobo 2015-01-28 16:30:01 -07:00
  • 37a040a620 Preserve line numbers in presenter based on ::mouseWheelScreenRow Nathan Sobo 2015-01-28 16:24:54 -07:00
  • 35d3690088 Preserve lines in TextEditorPresenter based on ::mouseWheelScreenRow Nathan Sobo 2015-01-28 16:04:43 -07:00
  • 578a76ba6b Make “mouse wheel” 2 words in presenter API Nathan Sobo 2015-01-28 15:20:33 -07:00
  • da5ee3fa86 Add TextEditorPresenter::state.mousewheelScreenRow Nathan Sobo 2015-01-27 18:34:17 -07:00
  • a88486e950 Use maxLineNumberDigits from presenter state in GutterComponent Nathan Sobo 2015-01-27 17:53:22 -07:00
  • 1a22952eda Only store backgroundColor and gutterBackgroundColor on presenter Nathan Sobo 2015-01-27 17:39:21 -07:00
  • fd50a0db6c Construct TextEditorPresenter before component mounts Nathan Sobo 2015-01-27 17:27:59 -07:00
  • ac25596002 Wait for required measurements before building some presenter state Nathan Sobo 2015-01-27 17:26:54 -07:00
  • 9cc7ecb1be Add maxLineNumberDigits to presenter state Max Brunsfeld 2015-01-27 14:36:46 -08:00
  • 60fca8d8b2 Use presenter state for gutter background color Max Brunsfeld 2015-01-27 14:07:14 -08:00
  • fd4f28911d Use presenter state for placeholder text Max Brunsfeld 2015-01-27 13:50:02 -08:00
  • 1a61133def Remove unused local var Nathan Sobo 2015-01-27 14:37:58 -07:00
  • f5fa3b837e Set content.indentGuidesVisible in presenter if editor is mini Nathan Sobo 2015-01-27 14:34:53 -07:00
  • b21b9c3402 Use presenter’s scrollingVertically property to defer line measurement Nathan Sobo 2015-01-27 11:02:46 -07:00
  • d4517b1ab0 Add TextEditorPresenter::state.scrollingVertically Nathan Sobo 2015-01-27 10:57:52 -07:00
  • 837b9eefbb Use backgroundColor from presenter in LinesComponent Nathan Sobo 2015-01-27 10:43:29 -07:00
  • 71a27de7ac Add TextEditorPresenter::state.content.backgroundColor Nathan Sobo 2015-01-27 10:27:07 -07:00
  • 96ba4cc6bd Remove unused React props and methods that build them Nathan Sobo 2015-01-27 10:04:37 -07:00
  • 9d7285d04a Use presenter for rendering overlay decorations Nathan Sobo 2015-01-27 09:34:14 -07:00
  • e4c95d8ac3 Add overlay decorations to TextEditorPresenter::state Nathan Sobo 2015-01-27 09:03:46 -07:00
  • a5580a704d Remove unused properties in EditorComponent and children Nathan Sobo 2015-01-27 08:12:33 -07:00
  • c4b5a0f411 Honor the ‘onlyHead’ option for line and line-number decorations Nathan Sobo 2015-01-27 07:49:24 -07:00
  • af8c38ad80 🎨 Nathan Sobo 2015-01-27 07:46:29 -07:00
  • 0802b9bdd1 Don’t decorate soft-wrapped lines/line numbers unless spanned by marker Nathan Sobo 2015-01-27 07:41:48 -07:00
  • b1fe567ce8 Build line numbers based on presenter state Nathan Sobo 2015-01-27 07:18:34 -07:00
  • 20838accc1 Key line numbers by buffer row and soft-wrap count Nathan Sobo 2015-01-27 06:07:21 -07:00
  • 182531a010 Use presenter for gutter scrollHeight and scrollTop Nathan Sobo 2015-01-27 06:06:44 -07:00
  • f218e985cf Update presenter scrollHeight when clientHeight changes Max Brunsfeld 2015-01-26 15:33:14 -08:00
  • 33081cefda Move .lineNumbers onto .gutter property of presenter state Max Brunsfeld 2015-01-26 15:20:31 -08:00
  • d26e8a2df1 Move vertical scroll state to root of presenter state object Nathan Sobo 2015-01-27 07:29:24 -07:00
  • 1ff0b20cea Add ‘foldable’ to line number presenter state Nathan Sobo 2015-01-26 15:57:47 -07:00
  • 66c35d6e3e Reflect changes to line number decorations in presenter state Nathan Sobo 2015-01-26 15:44:28 -07:00
  • 5d2efc0469 Deprecate TextEditor::getGutterDecorations Nathan Sobo 2015-01-26 15:44:42 -07:00
  • 970936f96d Start on TextEditorPresenter::state.lineNumbers Nathan Sobo 2015-01-26 15:13:14 -07:00
  • 49bf3bb14e Use presenter to render flashes Nathan Sobo 2015-01-23 17:44:42 -07:00
  • 8ebd057b0c Use presenter to render highlights Nathan Sobo 2015-01-23 17:48:27 -07:00
  • 2f526c59c5 Add highlights state to TextEditorPresenter Nathan Sobo 2015-01-23 12:18:27 -08:00
  • 764139c25e Fix spec organization Nathan Sobo 2015-01-23 10:33:07 -07:00
  • 4b0536ab6a Remove unused props Nathan Sobo 2015-01-23 10:29:24 -07:00
  • 500f992d32 Remove shouldComponentUpdate hook Nathan Sobo 2015-01-23 10:28:45 -07:00
  • 3b93f3d71b Blink cursors based on presenter state Nathan Sobo 2015-01-23 10:26:00 -07:00
  • b412c2642d Add TextEditorPresenter::onDidUpdateState Nathan Sobo 2015-01-23 09:58:42 -07:00
  • 3c6c385ec8 Add TextEditorPresenter::state.content.blinkCursorsOff Nathan Sobo 2015-01-23 09:04:32 -07:00
  • 06b5eba17c Fix 0-width cursors in presenter instead of view Nathan Sobo 2015-01-23 08:19:01 -07:00
  • 4ed07bb66d Use presenter state in CursorsComponent Nathan Sobo 2015-01-23 08:09:13 -07:00
  • c8b58761ba Add TextEditorPresenter::state.content.cursors Nathan Sobo 2015-01-22 10:55:01 -07:00
  • b7b0ec067c 🎨 Nathan Sobo 2015-01-22 09:03:50 -07:00
  • add3972477 Use presenter’s scrollTop/scrollLeft in LinesComponent Nathan Sobo 2015-01-21 17:08:02 -07:00
  • f479e9d029 Add ::state.content.scrollTop/Left to TextEditorPresenter Nathan Sobo 2015-01-21 17:01:23 -07:00
  • 78d87d8f7c Use presenter to supply scrollHeight to lines component Nathan Sobo 2015-01-21 16:56:31 -07:00
  • 2c5888e25a Add ::state.content.scrollHeight to TextEditorPresenter Nathan Sobo 2015-01-21 16:47:03 -07:00
  • de0b5c4c62 Reorganize specs on TextEditorPresenter to mirror structure of state Nathan Sobo 2015-01-21 16:39:00 -07:00
  • 59b109654e Fix spec Nathan Sobo 2015-01-21 16:26:40 -07:00
  • e9d6e36b6a Remove unused code Nathan Sobo 2015-01-21 16:15:55 -07:00
  • fe5ee524a8 Show/hide line decorations when TextEditor::mini changes Nathan Sobo 2015-01-21 16:05:25 -07:00
  • 9a496e62cb Don’t apply line decorations to mini editors Nathan Sobo 2015-01-21 16:02:21 -07:00
  • a513cf260c Don’t apply line decorations to last line if it ends at column 0 Nathan Sobo 2015-01-21 16:01:03 -07:00
  • 62a1210604 Honor the ‘onlyEmpty’ and ‘onlyNonEmpty’ line decoration options Nathan Sobo 2015-01-21 15:59:59 -07:00