Skip to content

Conversation

@Kapu1178
Copy link
Contributor

@Kapu1178 Kapu1178 commented Jul 22, 2025

fixes:

  • copytext_char() using text elements instead of runes.
  • splicetext_char() using text elements instead of runes.
  • text2ascii_char() using text elements instead of runes.
  • spantext_char() using text elements instead of runes.

adds: splittext_char()

@boring-cyborg boring-cyborg bot added the Runtime Involves the OpenDream server/runtime label Jul 22, 2025
@Kapu1178 Kapu1178 marked this pull request as draft July 22, 2025 07:01
return SplitText(bundle, src, usr, false);
}

private static DreamValue SplitText(NativeProc.Bundle bundle, DreamObject? src, DreamObject? usr, bool useByteLength) {

Check warning

Code scanning / InspectCode

Unused parameter: Private accessibility Warning

Parameter 'src' is never used
return SplitText(bundle, src, usr, false);
}

private static DreamValue SplitText(NativeProc.Bundle bundle, DreamObject? src, DreamObject? usr, bool useByteLength) {

Check warning

Code scanning / InspectCode

Unused parameter: Private accessibility Warning

Parameter 'usr' is never used
@Kapu1178 Kapu1178 changed the title Fixes parity break with text lengths and what is considered a "character" Fixes inconsistencies with text handling, adds splittext_char() Jul 23, 2025
@github-actions github-actions bot added size/L and removed size/M labels Jul 23, 2025
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merge Conflict Runtime Involves the OpenDream server/runtime size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant