hunk.code_window: const Canvas = styled.canvas`
     position: absolute;
     top: 0;
     left: 0;
     height: calc(100% + ${(props) => props.theme.canvasBottomPadding}px);
     width: 100%;
     overflow-y: auto;
     z-index: 1;
     pointer-events: none;
   `;
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:   height: 100%;
  
hunk.file_path: app/client/src/pages/common/CanvasMultiPointerArena.tsx
hunk.type: replace
file: package com.appsmith.external.helpers;
  
  import java.util.concurrent.atomic.AtomicInteger;
  import java.util.stream.Collectors;
  
  public class SmartSubstitutionHelper {
  
      public static final String APPSMITH_SUBSTITUTION_PLACEHOLDER = "#_appsmith_placeholder#";
  
      public static String replaceQuestionMarkWithDollarIndex(String query) {
          final AtomicInteger counter = new AtomicInteger();
          String updatedQuery = query.chars()
                  .mapToObj(c -> {
                      if (c == '?') {
                          return "$" + counter.incrementAndGet();
                      }
  
                      return Character.toString(c);
                  })
                  .collect(Collectors.joining());
  
          return updatedQuery;
      }
  
  }
  