if (*offset > 0) {
- f_string placeholder = " ";
-
- if (data.parameters[byte_dump_parameter_placeholder].result == f_console_result_found) {
- placeholder = byte_dump_character_placeholder;
+ if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) {
+ while (*offset > 0 && j < data.width) {
+ printf(".");
+ (*offset)--;
+ j++;
+ } // while
}
+ else {
+ f_string placeholder = " ";
- while (*offset > 0 && j < data.width) {
- fl_color_print(f_standard_output, data.context.warning, data.context.reset, "%s", placeholder);
- (*offset)--;
- j++;
- } // while
+ if (data.parameters[byte_dump_parameter_placeholder].result == f_console_result_found) {
+ placeholder = byte_dump_character_placeholder;
+ }
+
+ while (*offset > 0 && j < data.width) {
+ fl_color_print(f_standard_output, data.context.warning, data.context.reset, "%s", placeholder);
+ (*offset)--;
+ j++;
+ } // while
+ }
}
// Print placeholders for the remaining fragments of UTF-8 characters printed on previous lines.
if (previous->invalid) {
fl_color_print(f_standard_output, data.context.error, data.context.reset, "%s", byte_dump_character_placeholder);
}
+ else if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) {
+ printf(".");
+ }
else {
fl_color_print(f_standard_output, data.context.warning, data.context.reset, "%s", byte_dump_character_placeholder);
}
}
}
else if (f_utf_character_is_whitespace(characters.string[i]) == f_true) {
- fl_color_print2(f_standard_output, data.context.notable, data.context.warning, data.context.reset, "%s", byte_dump_sequence_space);
+ if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) {
+ printf(".");
+ }
+ else {
+ fl_color_print2(f_standard_output, data.context.notable, data.context.warning, data.context.reset, "%s", byte_dump_sequence_space);
+ }
}
else if (f_utf_character_is_zero_width(characters.string[i]) == f_true) {
if (data.presentation == byte_dump_presentation_classic) {
if (invalid[i]) {
fl_color_print(f_standard_output, data.context.error, data.context.reset, "%s", byte_dump_character_placeholder);
}
+ else if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) {
+ printf(".");
+ }
else {
fl_color_print(f_standard_output, data.context.warning, data.context.reset, "%s", byte_dump_character_placeholder);
}
if (invalid[i]) {
fl_color_print(f_standard_output, data.context.error, data.context.reset, "%s", byte_dump_character_placeholder);
}
+ else if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) {
+ printf(".");
+ }
else {
fl_color_print(f_standard_output, data.context.warning, data.context.reset, "%s", byte_dump_character_placeholder);
}
if (invalid[i]) {
fl_color_print(f_standard_output, data.context.error, data.context.reset, "%s", byte_dump_character_placeholder);
}
+ else if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) {
+ printf(".");
+ }
else {
fl_color_print(f_standard_output, data.context.warning, data.context.reset, "%s", byte_dump_character_placeholder);
}
if (invalid[j]) {
fl_color_print(f_standard_output, data.context.error, data.context.reset, "%s", byte_dump_character_placeholder);
}
+ else if (data.parameters[byte_dump_parameter_classic].result == f_console_result_found) {
+ printf(".");
+ }
else {
fl_color_print(f_standard_output, data.context.warning, data.context.reset, "%s", byte_dump_character_placeholder);
}