Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Conversation

@jasonLaster
Copy link
Contributor

Summary of Changes

This updates our debug line highlighter so that it starts at the column we're paused at. This is more informative because we're often not paused at the beginning of a line.

Test Plan

I'd like to update editor-highlight

Screenshots/Videos (OPTIONAL)

after

before

@codecov
Copy link

codecov bot commented Jun 21, 2017

Codecov Report

Merging #3195 into master will decrease coverage by 0.03%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #3195      +/-   ##
=========================================
- Coverage   47.94%   47.9%   -0.04%     
=========================================
  Files          98      98              
  Lines        4063    4066       +3     
  Branches      838     839       +1     
=========================================
  Hits         1948    1948              
- Misses       2115    2118       +3
Impacted Files Coverage Δ
src/components/Editor/index.js 17.7% <0%> (-0.14%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d75ce7...8a3431c. Read the comment docs.

.new-debug-line .CodeMirror-line {
background-color: var(--debug-line-background) !important;
background-color: transparent !important;
outline: var(--debug-line-border) solid 1px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe move this to the .debug-expression? I think it'd look a little nicer rather than the whole line having the outline.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm - happy to try. I kinda like framing the line and highlighting the relevant section, but I bet there's more we can do too

Copy link
Contributor

@wldcordeiro wldcordeiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an idea/suggestion but I think it's an improvement either way. 👍

@jasonLaster jasonLaster merged commit 9b77377 into firefox-devtools:master Jun 22, 2017
jasonLaster added a commit to jasonLaster/debugger.html that referenced this pull request Jun 22, 2017
jasonLaster added a commit that referenced this pull request Jun 22, 2017
* 6-22 release
* fix toggling function search
* Revert "highlight pause expressions (#3195)"
jasonLaster added a commit to jasonLaster/debugger.html that referenced this pull request Jun 22, 2017
* highlight pause expressions

* add test
jasonLaster pushed a commit to bomsy/debugger.html that referenced this pull request Jun 23, 2017
* highlight pause expressions

* add test
jasonLaster pushed a commit to bomsy/debugger.html that referenced this pull request Jun 23, 2017
* highlight pause expressions

* add test
jasonLaster pushed a commit that referenced this pull request Jun 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants