Repository navigation
Commit 359a0f5
committed
Fix search replace processor to correctly handle trailing whitespace
- add a test case that wil prove the change sucessful [Changes]
└── apps
└── editor
└── src
└── utils
└── changes-integration
└── search-replace-processor
└── apply-search-replace-to-content
├── apply-search-replace-to-content.spec.ts
├── apply-search-replace-to-content.ts
└── test-cases
├── basic-conflict
│ ├── expected.txt
│ ├── markers.txt
│ └── original.txt
├── deletion
│ ├── expected.txt
│ ├── markers.txt
│ └── original.txt
├── multiple-conflicts
│ ├── expected.txt
│ ├── markers.txt
│ └── original.txt
├── rst-syntax
│ ├── expected.txt
│ ├── markers.txt
│ └── original.txt
├── trailing-whitespace
│ ├── expected.txt
│ ├── markers.txt
│ └── original.txt
└── whitespace-issues
├── expected.txt
├── markers.txt
└── original.txt1 parent 482869b commit 359a0f5
5 files changed
Lines changed: 21 additions & 2 deletions
File tree
- apps/editor/src/utils/changes-integration/search-replace-processor/apply-search-replace-to-content
- test-cases/trailing-whitespace
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments