• Get Review Board
  • What's New
  • Products
  • Review Board Code review, image review, and document review
  • Documentation
  • Release Notes
  • Power Pack Enterprise integrations, reports, and enhanced document review
  • Try for 60 Days
  • Purchase
  • RBCommons Review Board as a Service, hosted by us
  • Pricing
  • RBTools Command line tools and Python API for Review Board
  • Documentation
  • Release Notes
  • Review Bot Automated code review, connecting tools you already use
  • Documentation
  • Release Notes
  • RB Gateway Manage Git and Mercurial repositories in your network
  • Documentation
  • Release Notes
  • Learn and Explore
  • What is Code Review?
  • Documentation
  • Frequently Asked Questions
  • Support Options
  • Third-Party Integrations
  • Demo
  • Review Board RBTools Power Pack Review Bot Djblets RB Gateway
    1. Review Board 1.0
    2. Version 7.x
    3. Version 6.x
    4. Version 5.0
    5. Version 4.0
    6. Version 3.0
    7. Version 2.5
    8. Version 2.0
    9. Version 1.7
    10. Version 1.6
    11. Version 1.5
    12. Version 1.0
    13. Administration Guide
    14. Administration UI
    15. Settings
    16. Diff Viewer Settings
  • Home
  • General Index
  • Release Notes
  • This documentation covers Review Board 1.0. You can select a version above or view the latest documentation.

    Diff Viewer Settings¶

    The Diff Viewer Settings page contains several customization options for the diff viewer. These settings generally don’t need to be changed unless you have specified requirements for your server. It’s split up into the following sections:

    • General
    • Advanced

    General¶

    • Show syntax highlighting:

      If enabled, syntax highlighting will be used in the Diff Viewer. This offers improved readability of diffs, but takes longer to render.

      This option can be overridden by users in their account settings.

      This defaults to being enabled.

    • Show trailing whitespace:

      If enabled, excess whitespace on a line is shown as red blocks. This helps to visualize when a text editor has added unwanted whitespace to the end of a line.

      This defaults to being enabled.

    • Show all whitespace for:

      This is a comma-separated list of file patterns for which all whitespace changes should be shown.

      Normally, whitespace-only changes are ignored in a diff, improving readability and allowing developers to concentrate on actual code changes. However, for some file formats, this isn’t desired. These file patterns can be listed here.

      For example: *.py, *.txt

    Advanced¶

    • Lines of Context:

      The number of unchanged lines shown above and below changed lines.

      This defaults to 5.

    • Paginate by:

      The number of files to display per page in the diff viewer.

      This defaults to 20.

    • Paginate orphans:

      The number of extra files required before adding another page to the diff viewer. If, for example, a diff consisted of 25 files, and this was set to 10, then the files would be shortened into two pages.

      This defaults to 10.

    Keep up with the latest Review Board releases, security updates, and helpful information.

    About
    News
    Demo
    RBCommons Hosting
    Integrations
    Happy Users
    Support Options
    Documentation
    FAQ
    User Manual
    RBTools
    Administration Guide
    Power Pack
    Release Notes
    Downloads
    Review Board
    RBTools
    Djblets
    Power Pack
    Package Store
    PGP Signatures
    Contributing
    Bug Tracker
    Submit Patches
    Development Setup
    Wiki
    Follow Us
    Mailing Lists
    Reddit
    Twitter
    Mastodon
    Facebook
    YouTube

    Copyright © 2006-2025 Beanbag, Inc. All rights reserved.

    Terms of Service — Privacy Policy — AI Ethics Policy — Branding

    On this page

    • [Top]
    • General
    • Advanced