◐ Shell
clean mode source ↗

Read preferences txt, if fails, read defaults, else really break by catilac · Pull Request #1393 · processing/processing4

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

catilac

merged 1 commit into

Jan 29, 2026

Conversation

@catilac

This is a bandaid fix for the tab-spacing Advanced error that was reported.
I'm carving out a set of issues for a larger fix.

@SableRaf can you please give this a little test?

partial fix of #1388

@SableRaf

In a quick test it seems to work 👍 Thanks @catilac

Here's what I did:

Replicating

  1. Opened Processing 4.5.1
  2. Opened the preferences
  3. Searched for "tabs"
  4. Set editor.tabs.size to 4/ (causes error in the console)
  5. Closed and re-opened. Got the error from Preferences not validating inputs #1388

Testing the PR

  1. Built from PR branch (runs successfullly)
  2. Opened the preferences
  3. Searched for "tabs"
  4. Set editor.tabs.size to 4 (removed the trailing /)
  5. Closed Processing
  6. Re-opened 4.5.1. (starts successfully)

SableRaf

@SableRaf

@catilac What's your take on adding comments in the code to explain why a workaround like this one was needed?

@catilac

@SableRaf i think generally that's a great idea! For this particular patch it's more like coding with a so-called best practice so it's not something too out of the ordinary. Thanks so much for reviewing will merge!

@catilac catilac deleted the parse_int_exception branch

January 29, 2026 12:42

2 participants

@catilac @SableRaf