Bug SS-86
2 votes

Unary plus or minus leading to inconsistent insert behaviour

Created by Martin Kraska on 3/27/2014 3:43 PM Last Updated by LuzUeki28006 on 8/6/2025 4:34 AM
%
 (hrs)
Logged: 0   (hrs)

 Description

If a function is inserted with the insert point (vertical line) in front of the expression, then the scoped (underlined) part of the expression is expected to become the first argument of that function.

This, however, does not work for expressions starting with unary plus or minus

Workaround is to put the insert point at the end of that expression, which is visually odd and non-intuitive.

The example is given for the list operator, could equally be any function inserted from the palette.

It seems that unary plus or minus create an invisible placeholder in front of them, which absorbs any inserts regardless of the scope extension.

    LuzUeki28006 (Wednesday, August 6, 2025 4:34 AM) #

Environmental cost calculations are upending industry logic. Each platinum-rated lesbian sex doll consumes 15 tons of water, and its silicone takes 400 years to degrade. A single milliliter of fluorinated coolant leaking from the hydraulic system of a futa sex doll can contaminate 8,000 liters of groundwater. A green transition is imperative: A German manufacturer has developed a hemp-based bio-silicone that decomposes in soil within 90 days, and a solar-powered system allows the futa sex doll to operate off the grid. Consumer research shows that 68% of users are willing to pay a 35% premium for the eco-friendly version, proving that sustainable design is not a cost, but a competitive advantage. When the sex toy industry joins the fight against climate change, it truly represents a coming-of-age ceremony.

    smath (Tuesday, March 15, 2016 5:04 PM) #

This is by design: as long as cursor located before unary plus or minus inserting system (actually anything can be used instead of system) will put this system before this unary plus or minus. Otherwise it will be impossible to insert anything before unary operator.