Android Question Word Wrap Project Window

dualznz

Member
Licensed User
Hi long time since ive been on, im getting back into programming with B4a but ive already hit a snag i have to scroll to the right in the project viewer as shown in the attached image.

i couldn't see word wrap option in the application window for B4a?

is it possible to word wrap the dev tool?

Cheers

Screenshot_3.png
 

dualznz

Member
Licensed User
ahh sweet thats right _ i have it somewhere im my massive index of appz ive done in the past, yer it would be nice instead of having to add _
 

wonder

Expert
Licensed User
I also use the underscore character a lot! :)
So much that my B4A code even looks like C/Java sometimes... :D
B4X:
If ( _
       Controller.L_Analog_X >= Controller.Dead_Zone _
    OR Controller.L_Analog_Y >= Controller.Dead_Zone _
    OR Controller.R_Analog_X >= Controller.Dead_Zone _
    OR Controller.R_Analog_Y >= Controller.Dead_Zone _
    OR Controller.L_Trigger  >= Controller.Dead_Zone _
    OR Controller.R_Trigger  >= Controller.Dead_Zone _
   ) _
AND _
    Not(Gamepad_Mode) Then
        Gamepad_Mode = True
        Hide_Controls(Player)
End If
 

Troberg

Well-Known Member
Licensed User
I use a 4K screen. If I get too long lines on that one, I'm doing something wrong...

Also, as others have said, consider the _. Usually, if you get too long lines, breaking them improves readability. It also provides breaks at logical places, something a word wrap might not do.
 
Top