Skip to content

Commit

Permalink
feat: allow deeper nested MarkedSource rendering (#5862)
Browse files Browse the repository at this point in the history
  • Loading branch information
schroederc committed Sep 21, 2023
1 parent 811f373 commit daf1c0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kythe/cxx/doc/html_renderer.cc
Expand Up @@ -30,7 +30,7 @@
namespace kythe {
namespace {
/// Don't recurse more than this many times when rendering MarkedSource.
constexpr size_t kMaxRenderDepth = 10;
constexpr size_t kMaxRenderDepth = 20;

/// \brief A RAII class to deal with styled div/span tags.
class CssTag {
Expand Down
2 changes: 1 addition & 1 deletion kythe/go/util/markedsource/markedsource.go
Expand Up @@ -33,7 +33,7 @@ import (
// maxRenderDepth cuts the render algorithm if it recurses too deeply into a
// nested MarkedSource. The resulting identifiers will thus be partial. This
// value matches the kMaxRenderDepth in the C++ implementation.
const maxRenderDepth = 10
const maxRenderDepth = 20

const invalidLookupMarker = "???"

Expand Down
Expand Up @@ -33,7 +33,7 @@ public class MarkedSourceRenderer {
private MarkedSourceRenderer() {}

/** Don't recurse more than this many times when rendering MarkedSource. */
private static final int MAX_RENDER_DEPTH = 10;
private static final int MAX_RENDER_DEPTH = 20;

/**
* Render {@code signature} as a full signature.
Expand Down

0 comments on commit daf1c0b

Please sign in to comment.