By continuing to use this site, you agree to our use of cookies. Find out more
Forum sponsored by:
Forum sponsored by Forum House Ad Zone

How to display an 80 character line length on my Android phone

All Topics | Latest Posts

Search for:  in Thread Title in  
Greensands04/06/2022 15:49:01
377 forum posts
49 photos

.Hi - I know that this may be somewhat off topic but from past experience I know that there will be members on the forum who may be able to help me on this one. I would like to be able to use my Android phone to display some computer code using an 80 character line length in place of the 40 character line as set at present. Can anyone please advise me on how this can be done.

Michael Gilligan04/06/2022 22:39:07
avatar
20289 forum posts
1064 photos

I don’t know the answer, but I’m responding just to bump your request back up the list.

My first thought was: it must depend upon whether your screen resolution will support any legible font at 80 characters per line … but your question may be more subtle than that.

MichaelG.

Paul Lousick04/06/2022 23:16:25
2078 forum posts
728 photos

This is not a model engineering question and it would be better to try a search on Google for an answer.

Like this one: **LINK**

Michael Gilligan05/06/2022 00:40:21
avatar
20289 forum posts
1064 photos

Sorry, Paul … your link appears to be almost totally irrelevant to the question

MichaelG.

Greensands05/06/2022 07:51:35
377 forum posts
49 photos

The post was made in the interests of being able to develop my wokkshop CAM procedures whilst enjoying a few days away from home.

Gerard O'Toole05/06/2022 07:54:28
138 forum posts
10 photos

The answer will depend on what App you are using to display the code

My android phone has an App, Notepad, which allows me to adjust the font size by 'clicking' on the characters/line and then selecting Font, and a slider allows me to adjust the size.

Can you give us a little more information on the App you are using ?

Edited By Gerard O'Toole on 05/06/2022 07:54:41

Greensands05/06/2022 08:35:03
377 forum posts
49 photos

.Hi Gerard - To avoid ruffling any feathers I will send you a pm to answer your query.

Gerard O'Toole06/06/2022 08:08:00
138 forum posts
10 photos

Reg, PM replied to Gerard

Oldiron06/06/2022 10:13:18
997 forum posts
40 photos
Posted by Greensands on 05/06/2022 08:35:03:

.Hi Gerard - To avoid ruffling any feathers I will send you a pm to answer your query.

Dont worry abouit ruffled feathers. I would be interested in the answer. The Tea Room is for questions & answers on any topic and is not limited to engineering or modelling topics.

regards

Gerard O'Toole06/06/2022 12:44:56
138 forum posts
10 photos
Posted by Oldiron on 06/06/2022 10:13:18:
Posted by Greensands on 05/06/2022 08:35:03:

.Hi Gerard - To avoid ruffling any feathers I will send you a pm to answer your query.

Dont worry abouit ruffled feathers. I would be interested in the answer. The Tea Room is for questions & answers on any topic and is not limited to engineering or modelling topics.

regards

Sure. , My reply was as follows:-

I don't see any way of specifying exactly 80 characters. On my phone the character size changes in about 6 steps so i can approximate 80 characters but only when the phone is in held landscape mode. i.e. left to right and not holding it upright

I'm afraid i cannot find anyway of specifying exactly 80 characters in notepad

The setting remains set to the last setting I use, i.e. approx 80 if i set it that size.

If you could save your text in a pdf file with 80 character line length then that should display as 80 characters but perhaps pdf doesn't suit your needs.

Sorry cannot be of more help

Ed Duffner07/06/2022 13:19:33
841 forum posts
94 photos

Hi Greensands, which program, with the 40 char wide limit, are you currently using to view the code?

Ed.

Russell Eberhardt07/06/2022 16:29:23
avatar
2752 forum posts
86 photos

Have a look at "Code Editor - Compiler & IDE" in Google Play. Be careful though as it requires permissions to edit any file in your device!

Russell

Oldiron07/06/2022 16:44:48
997 forum posts
40 photos
Posted by Gerard O'Toole on 06/06/2022 12:44:56:
Posted by Oldiron on 06/06/2022 10:13:18:
Posted by Greensands on 05/06/2022 08:35:03:

.Hi Gerard - To avoid ruffling any feathers I will send you a pm to answer your query.

Dont worry abouit ruffled feathers. I would be interested in the answer. The Tea Room is for questions & answers on any topic and is not limited to engineering or modelling topics.

regards

Sure. , My reply was as follows:-

I don't see any way of specifying exactly 80 characters. On my phone the character size changes in about 6 steps so i can approximate 80 characters but only when the phone is in held landscape mode. i.e. left to right and not holding it upright

I'm afraid i cannot find anyway of specifying exactly 80 characters in notepad

The setting remains set to the last setting I use, i.e. approx 80 if i set it that size.

If you could save your text in a pdf file with 80 character line length then that should display as 80 characters but perhaps pdf doesn't suit your needs.

Sorry cannot be of more help

Thankyou Greensands.

regards

Edited By Oldiron on 07/06/2022 16:46:43

SillyOldDuffer07/06/2022 17:38:11
Moderator
8906 forum posts
1999 photos

Judging by this review of 7 code editors that run on Android phones, none of them do what Greensand's wants. All the screen shots show text being chopped off at about 40 characters, making it necessary to scroll the screen. May be a limitation of the display. This example is typical:

Never done any Android development myself, but I believe most Android code is developed on a PC, either windows or Linux and mainly debugged on a emulator. Only in the last stage does the program get to run on a phone. Many advantages in developing on a PC, not least they have big screens!

Dave

Russell Eberhardt07/06/2022 20:05:48
avatar
2752 forum posts
86 photos

Posted by SillyOldDuffer on 07/06/2022 17:38:11:

Many advantages in developing on a PC, not least they have big screens!

Dave

Yes, my phone will display an 80 character line but I need a magnifying glass to read it. My favorite editor for code is gedit running on Linux. It includes syntax checking for most common programming languages.

Russell

Bazyle09/06/2022 20:53:41
avatar
6386 forum posts
222 photos

What happens to SOD's example if you rotate the display 90 degrees?

SillyOldDuffer11/06/2022 15:28:48
Moderator
8906 forum posts
1999 photos
Posted by Russell Eberhardt on 07/06/2022 20:05:48:

Posted by SillyOldDuffer on 07/06/2022 17:38:11:

Many advantages in developing on a PC, not least they have big screens!

Dave

... My favorite editor for code is gedit running on Linux. It includes syntax checking for most common programming languages.

Russell

I like gedit too, but kate is better if you want to manage multiple files in one project. Recently I started using geany, not sure why but I subconsciously prefer it to kate. For single files I almost always use gedit.

In the good old days programmers argued ferociously about emacs versus vi. A religious debate that sometimes ended in an actual punch up! Both powerful rather than easy to use. I never got on with emacs, even though everyone agreed vi is short for 'vile'.

vi's latest incarnation is vim, quite hard to learn, but for certain rare types of edit it kicks the euphemism out of GUI editors.

Dave

All Topics | Latest Posts

Please login to post a reply.

Magazine Locator

Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!

Find Model Engineer & Model Engineers' Workshop

Sign up to our Newsletter

Sign up to our newsletter and get a free digital issue.

You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy

Latest Forum Posts
Support Our Partners
Dreweatts
Rapid RC
Eccentric Engineering
cowells
Eccentric July 5 2018
Subscription Offer

Latest "For Sale" Ads
Latest "Wanted" Ads
Get In Touch!

Do you want to contact the Model Engineer and Model Engineers' Workshop team?

You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.

Click THIS LINK for full contact details.

For subscription issues please see THIS LINK.

Digital Back Issues

Social Media online

'Like' us on Facebook
Follow us on Facebook

Follow us on Twitter
 Twitter Logo

Pin us on Pinterest

 

Donate

donate