Is it possible to run conversion on Math ContentPart, but prevent adding the result to converted text? Eg. I write "1+2". If I convert it, the result is "1+2=3" . But I only want to have "1+2" there - exactly what was written.
In your case, you shall set the configuration to false, as follows: editorViewController.engine.configuration.setBoolean(false, forKey: "math.solver.enable")
In your case, you shall set the configuration to false, as follows: editorViewController.engine.configuration.setBoolean(false, forKey: "math.solver.enable")
Best regards,
Olivier
K
Kozarek
said
almost 3 years ago
Works, thanks for support. I am still getting used to the SDK.
Kozarek
Is it possible to run conversion on Math ContentPart, but prevent adding the result to converted text? Eg. I write "1+2". If I convert it, the result is "1+2=3" . But I only want to have "1+2" there - exactly what was written.
Dear Kozarek,
Indeed, in a math part by default the solver is enabled. You can refer to the "math.solver.enable" configuration: https://developer.myscript.com/docs/interactive-ink/latest/reference/configuration/#math
In your case, you shall set the configuration to false, as follows: editorViewController.engine.configuration.setBoolean(false, forKey: "math.solver.enable")
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstOlivier @MyScript
Dear Kozarek,
Indeed, in a math part by default the solver is enabled. You can refer to the "math.solver.enable" configuration: https://developer.myscript.com/docs/interactive-ink/latest/reference/configuration/#math
In your case, you shall set the configuration to false, as follows: editorViewController.engine.configuration.setBoolean(false, forKey: "math.solver.enable")
Best regards,
Olivier
Kozarek
Works, thanks for support. I am still getting used to the SDK.