Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

Feature Request

Please allow us to set a line-number to auto-scroll long snippets to the pertinent section of code, i.e.:

<!-- language: lang-js, line: 42 -->

In this particular answerthis particular answer, there's a large object literal that the rest of the code is dependent upon. In order to ensure that the important part of the code wasn't hidden beyond the scroll-height, I stringified the object and tucked it into an <input type="hidden">. That seems hackish. I'd prefer to have that object literal, nicely formatted, at the beginning of my code. I'd just like to skip past it initially in order to highlight the important stuff.

Feature Request

Please allow us to set a line-number to auto-scroll long snippets to the pertinent section of code, i.e.:

<!-- language: lang-js, line: 42 -->

In this particular answer, there's a large object literal that the rest of the code is dependent upon. In order to ensure that the important part of the code wasn't hidden beyond the scroll-height, I stringified the object and tucked it into an <input type="hidden">. That seems hackish. I'd prefer to have that object literal, nicely formatted, at the beginning of my code. I'd just like to skip past it initially in order to highlight the important stuff.

Feature Request

Please allow us to set a line-number to auto-scroll long snippets to the pertinent section of code, i.e.:

<!-- language: lang-js, line: 42 -->

In this particular answer, there's a large object literal that the rest of the code is dependent upon. In order to ensure that the important part of the code wasn't hidden beyond the scroll-height, I stringified the object and tucked it into an <input type="hidden">. That seems hackish. I'd prefer to have that object literal, nicely formatted, at the beginning of my code. I'd just like to skip past it initially in order to highlight the important stuff.

deleted 25 characters in body
Source Link
canon
  • 41.6k
  • 4
  • 32
  • 49

Feature Request

Please allow us to set a line-number to auto-scroll long snippets to the pertinent section of code, i.e.:

<!-- language: lang-js, line: 42 -->

In this particular answer, there's a large object literal that the rest of the code is dependent upon. In order to ensure that the important part of the code wasn't hidden beyond the scroll-height, I stringified the object and tucked it into an <input type="hidden">. That seems hackish and I'd rather not do it. I'd prefer to have that object literal, nicely formatted, at the beginning of my code. I'd just like to skip past it initially in order to highlight the important stuff.

Feature Request

Please allow us to set a line-number to auto-scroll long snippets to the pertinent section of code, i.e.:

<!-- language: lang-js, line: 42 -->

In this particular answer, there's a large object literal that the rest of the code is dependent upon. In order to ensure that the important part of the code wasn't hidden beyond the scroll-height, I stringified the object and tucked it into an <input type="hidden">. That seems hackish and I'd rather not do it. I'd prefer to have that object literal, nicely formatted, at the beginning of my code. I'd just like to skip past it initially in order to highlight the important stuff.

Feature Request

Please allow us to set a line-number to auto-scroll long snippets to the pertinent section of code, i.e.:

<!-- language: lang-js, line: 42 -->

In this particular answer, there's a large object literal that the rest of the code is dependent upon. In order to ensure that the important part of the code wasn't hidden beyond the scroll-height, I stringified the object and tucked it into an <input type="hidden">. That seems hackish. I'd prefer to have that object literal, nicely formatted, at the beginning of my code. I'd just like to skip past it initially in order to highlight the important stuff.

added 3 characters in body
Source Link
canon
  • 41.6k
  • 4
  • 32
  • 49

Feature Request

Please allow us to set a line-number to auto-scroll long snippets to the pertinent section of code, i.e.:

<!-- language: lang-js, line: 42 -->

PerhapsIn this particular answer, there's a large object literal that the rest of the code is dependent upon. As it stands (sample)In order to ensure that the important part of the code wasn't hidden beyond the scroll-height, I'll stringifyI stringified the object and tucktucked it into an <input type="hidden"> so it doesn't push the important code past the scroll height of the snippet. That seems hackish and I'd rather not do it. I'd prefer to have that object literal, nicely formatted, at the beginning of my code. I'd just like to skip past it initially in order to highlight the important stuff.

Feature Request

Please allow us to set a line-number to auto-scroll long snippets to the pertinent section of code, i.e.:

<!-- language: lang-js, line: 42 -->

Perhaps there's a large object literal that the rest of the code is dependent upon. As it stands (sample), I'll stringify the object and tuck it into an <input type="hidden"> so it doesn't push the important code past the scroll height of the snippet. That seems hackish and I'd rather not do it. I'd prefer to have that object literal, nicely formatted, at the beginning of my code. I'd just like to skip past initially in order to highlight the important stuff.

Feature Request

Please allow us to set a line-number to auto-scroll long snippets to the pertinent section of code, i.e.:

<!-- language: lang-js, line: 42 -->

In this particular answer, there's a large object literal that the rest of the code is dependent upon. In order to ensure that the important part of the code wasn't hidden beyond the scroll-height, I stringified the object and tucked it into an <input type="hidden">. That seems hackish and I'd rather not do it. I'd prefer to have that object literal, nicely formatted, at the beginning of my code. I'd just like to skip past it initially in order to highlight the important stuff.

added 272 characters in body
Source Link
canon
  • 41.6k
  • 4
  • 32
  • 49
Loading
Source Link
canon
  • 41.6k
  • 4
  • 32
  • 49
Loading