Commit bea55ba
committed
Adapt signatureHelp handler/tests to new Get_Node_At behavior
The test was erasing wrongly a newline character, which had for
effect to give wrong signatureHelp results with the new
behavior of Get_Node_At.
Do some cleanup in the signatureHelp handler, to make the code
and its behavior a bit clearer.
For eng/ide/ada_language_server#16861 parent ebe063e commit bea55ba
File tree
4 files changed
+45
-45
lines changed- source/ada
- testsuite/ada_lsp/signature_help_active_parameter
4 files changed
+45
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1237 | 1237 | | |
1238 | 1238 | | |
1239 | 1239 | | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | 1240 | | |
1244 | | - | |
| 1241 | + | |
1245 | 1242 | | |
1246 | | - | |
| 1243 | + | |
1247 | 1244 | | |
1248 | 1245 | | |
1249 | 1246 | | |
| |||
1252 | 1249 | | |
1253 | 1250 | | |
1254 | 1251 | | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
1255 | 1255 | | |
1256 | 1256 | | |
1257 | 1257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3370 | 3370 | | |
3371 | 3371 | | |
3372 | 3372 | | |
| 3373 | + | |
| 3374 | + | |
3373 | 3375 | | |
3374 | 3376 | | |
3375 | 3377 | | |
| |||
3379 | 3381 | | |
3380 | 3382 | | |
3381 | 3383 | | |
3382 | | - | |
| 3384 | + | |
| 3385 | + | |
3383 | 3386 | | |
3384 | | - | |
3385 | | - | |
3386 | | - | |
3387 | | - | |
3388 | | - | |
3389 | | - | |
3390 | | - | |
3391 | 3387 | | |
3392 | 3388 | | |
3393 | 3389 | | |
| |||
3414 | 3410 | | |
3415 | 3411 | | |
3416 | 3412 | | |
3417 | | - | |
3418 | | - | |
| 3413 | + | |
| 3414 | + | |
3419 | 3415 | | |
3420 | 3416 | | |
3421 | 3417 | | |
| |||
3424 | 3420 | | |
3425 | 3421 | | |
3426 | 3422 | | |
3427 | | - | |
3428 | | - | |
3429 | | - | |
3430 | 3423 | | |
3431 | | - | |
3432 | | - | |
3433 | | - | |
3434 | 3424 | | |
3435 | | - | |
3436 | | - | |
| 3425 | + | |
| 3426 | + | |
| 3427 | + | |
| 3428 | + | |
| 3429 | + | |
3437 | 3430 | | |
3438 | | - | |
3439 | | - | |
3440 | | - | |
3441 | | - | |
3442 | | - | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
| 3438 | + | |
| 3439 | + | |
3443 | 3440 | | |
3444 | | - | |
3445 | | - | |
3446 | | - | |
3447 | | - | |
3448 | | - | |
3449 | | - | |
3450 | | - | |
3451 | | - | |
3452 | | - | |
3453 | | - | |
3454 | | - | |
3455 | | - | |
3456 | | - | |
3457 | | - | |
| 3441 | + | |
| 3442 | + | |
| 3443 | + | |
| 3444 | + | |
| 3445 | + | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
| 3449 | + | |
| 3450 | + | |
| 3451 | + | |
| 3452 | + | |
| 3453 | + | |
| 3454 | + | |
| 3455 | + | |
| 3456 | + | |
| 3457 | + | |
3458 | 3458 | | |
3459 | 3459 | | |
3460 | 3460 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments