Copy example to command line

Bugs

Modérateur : xcasadmin

ftneek
Messages : 19
Inscription : sam. juin 08, 2024 7:40 pm

Copy example to command line

Message par ftneek » dim. nov. 17, 2024 9:38 pm

Hello, when you hover over an example of a command in the Help Index (ex: sin), the tooltip says a left click will copy the example to the command line. However doing a left click actually only copies the first letter of the example to the command line instead of the entire example.

Would it be possible to correct the behavior of left click to copy the entire example to the command line?

XcasEngGuy
Messages : 160
Inscription : mer. janv. 13, 2010 3:20 pm

Re: Copy example to command line

Message par XcasEngGuy » lun. nov. 18, 2024 6:51 pm

When I left-click on an example I get the whole example. Can you clarify?

ftneek
Messages : 19
Inscription : sam. juin 08, 2024 7:40 pm

Re: Copy example to command line

Message par ftneek » lun. nov. 18, 2024 8:12 pm

I'm using xcas 1.9.0 (up to date source) compiled on macOS (15.2).

I just tried again to confirm: I highlight the 'sin(0)' example from sin, I do a left (single finger) click, and only 's' appears in the command line.

parisse
Messages : 5878
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: Copy example to command line

Message par parisse » mar. nov. 19, 2024 8:51 am

Very strange, I can't reproduce. Have you tried with my compiled versions for Mac?

ftneek
Messages : 19
Inscription : sam. juin 08, 2024 7:40 pm

Re: Copy example to command line

Message par ftneek » mar. nov. 19, 2024 9:24 am

I've tried with the xcas_mac.dmg version and the same behavior occurs for me.

In both versions a right (two finger) click seems to work fine, the template is filled in with the example values. It is just the left click that seems not to work for some reason..

Répondre