summaryrefslogtreecommitdiff
path: root/spec/source_spec.rb
AgeCommit message (Expand)Author
2022-07-16organize PDF inspectors in test suite into separate filesDan Allen
2022-06-13store zero-based column of current and from on Extent (PR #2244)Dan Allen
2022-06-13accurately trap LoadError from CodeRay if source language is not recognized o...Dan Allen
2022-05-21follow-up to #2198 hide linenum spacer in source block from wrap by char logicDan Allen
2022-05-21resolves #2198 break and wrap long contiguous text in source block when linen...Dan Allen
2022-04-05resolves #2003 compute extent of content in scratch document to arrange conte...Dan Allen
2022-04-05prevent source wrap extension from leaking outside of convert_listing_or_lite...Dan Allen
2022-03-14don't render borders and backgrounds in scratch documentDan Allen
2022-03-13replace tabs with spaces in test fixture stringsDan Allen
2022-01-10remove unnecessary use of root namespace qualifier in testDan Allen
2021-06-04resolves #1934 fix encoding of indent in wrapped source blocks when font is A...Dan Allen
2021-03-27resolves #1898 fix processing of sequential callouts in a source block (PR #1...Dan Allen
2021-03-17rename get_scratch_document to scratch to align with lint rules; rename local...Dan Allen
2021-02-27verify theme can disable inline_block and extend setting for line-oriented tokenDan Allen
2021-02-27verify rouge formatter uses default line gap if not specified in themeDan Allen
2021-02-26verify rouge theme can configure token as inline block and extend to width of...Dan Allen
2021-01-22use pygments.rb 2.0.0 in CI (PR #1860)Marat Radchenko
2020-11-15verify syntax highlighting is not applied to scratch documentDan Allen
2020-11-12use rspec conditionals to filter tests instead of a postfix conditional on th...Dan Allen
2020-11-11upgrade RuboCop, add new rules, and update code to fix violationsDan Allen
2020-10-24remove unused instances of analyze option in test suiteDan Allen
2020-10-07fix test assertion so it's independent of Rouge versionDan Allen
2020-10-07don't apply syntax highlighting if Rouge lexer fails to highlight source; sho...Dan Allen
2020-09-29verify line numbers continue to be added after page splitDan Allen
2020-09-24fix crash when Text token is not defined in custom Rouge themeDan Allen
2020-09-10correct the test that verifies the theme can customize the highlight backgrou...Dan Allen
2020-09-06fix crash when Pygments style is not recognized; fall back to pastie styleDan Allen
2020-09-03exclude visual Rouge test if Rouge <= 2.1.0Dan Allen
2020-09-03verify underline style can be used in Rouge themeDan Allen
2020-09-03verify default background color is used to highlight lines in source blockDan Allen
2020-09-02test that color value for token is expanded when highlighting source using RougeDan Allen
2020-09-02test token with background color when highlighting source using RougeDan Allen
2020-09-01exclude line-oriented background test when using Rouge < 2.1Dan Allen
2020-09-01test line-oriented bg when highlighting source with RougeDan Allen
2020-09-01make sure Rouge theme can set both bold and italic on tokenDan Allen
2020-08-31verify converter does not crash if CodeRay generates a token with nil text (e...Dan Allen
2020-08-30allow Rouge theme to be specified as theme classDan Allen
2020-08-23verify theme instance can be passed to Rouge formatterDan Allen
2020-08-12fix lint errorDan Allen
2020-08-12fix assertion for highlighting of PHP with and without function name highligh...Dan Allen
2020-08-12verify indentation is preserved for single highlighted line in source block h...Dan Allen
2020-08-08add test for indentation guards on line that begins with space when highlight...Dan Allen
2020-08-07update pygments test to use theme that uses both font style and background colorDan Allen
2020-08-03verify start line number < 1 for source block is coerced to 1 when highlighti...Dan Allen
2020-07-19fix lint error in testDan Allen
2020-07-19verify encoded source is shown if Pygments fails to return a valueDan Allen
2020-07-14use and enforce a consistent style for comment annotationsDan Allen
2020-07-02really fix rouge testsDan Allen
2020-07-02skip incompatible tests on Rouge 2.0.0Dan Allen
2020-07-02test more permutations of source language with cgi-style optionsDan Allen