Hi,
New to UltraEdit, using 2025.1.0.20 64-bit. I have read the intro posts and didn't see this topic there or searching through this section.
Instead of the wordfile for EDI X12 that is included with my version of UE, I'm using "X12 (HIPAA EDI)" wordfile from User-submitted wordfiles for UltraEdit/UEStudio – the only diff from default seems to be adding folding (pasting first four lines below); also note the delimiters – no space or tab after equal sign (so these are not defined as delimiters, right?):
Text between delimiters can contain the strings that happen to match fold strings – "ST" is particularly problematic with addresses, because both "ST<space>" and "<space>ST" occur naturally. So here's what I'm seeing in UE:
It's folding "SE" up to "ST<space>" from "ST CHARLES" and "GE" up to "<space>ST" from "MAIN ST." That's not at all helpful, and is in fact very confusing (one might go so far as to way "wrong for this use case").
I understand that I can't directly specify a specific open fold string to pair with a specific close fold string: that's not a problem here, as the file would be invalid if it didn't have the pairs of identifiers around the segment (they have to be opened/closed as pairs to meet the spec).
Under the assumption that CR/LF is a delimiter (along with delimiters specified in the wordfile), what I want to see is "<delimiter><close fold string><delimiter>" folding up to "<delimiter><open fold string><delimiter>" (in this example: L7 "SE" up to L3 "ST" and L8 "GS" up to L2 "GE" and L9 "IEA" up to L1 "ISA"); instead of matching to "<space><fold string>" or "<fold string><space>".
Is this possible through wordfile, program options, or other workaround? And if not, how do I make a change request?
PS: While I'm here: Is there a way to show a fold/match even when there are no lines in-between? So in the new screen shot below, can I show link between lines 3 and 4?
New to UltraEdit, using 2025.1.0.20 64-bit. I have read the intro posts and didn't see this topic there or searching through this section.
Instead of the wordfile for EDI X12 that is included with my version of UE, I'm using "X12 (HIPAA EDI)" wordfile from User-submitted wordfiles for UltraEdit/UEStudio – the only diff from default seems to be adding folding (pasting first four lines below); also note the delimiters – no space or tab after equal sign (so these are not defined as delimiters, right?):
Code: Select all
/L13"X12 (HIPAA EDI)" Noquote File Extensions = x12
/Delimiters =~*:<>|^
/Open Fold Strings = "ISA" "GS" "ST" "LS"
/Close Fold Strings = "IEA" "GE" "SE" "LE"It's folding "SE" up to "ST<space>" from "ST CHARLES" and "GE" up to "<space>ST" from "MAIN ST." That's not at all helpful, and is in fact very confusing (one might go so far as to way "wrong for this use case").
I understand that I can't directly specify a specific open fold string to pair with a specific close fold string: that's not a problem here, as the file would be invalid if it didn't have the pairs of identifiers around the segment (they have to be opened/closed as pairs to meet the spec).
Under the assumption that CR/LF is a delimiter (along with delimiters specified in the wordfile), what I want to see is "<delimiter><close fold string><delimiter>" folding up to "<delimiter><open fold string><delimiter>" (in this example: L7 "SE" up to L3 "ST" and L8 "GS" up to L2 "GE" and L9 "IEA" up to L1 "ISA"); instead of matching to "<space><fold string>" or "<fold string><space>".
Is this possible through wordfile, program options, or other workaround? And if not, how do I make a change request?
PS: While I'm here: Is there a way to show a fold/match even when there are no lines in-between? So in the new screen shot below, can I show link between lines 3 and 4?


