Development >> Integrated Development Environment >> Three changes will make official editor perfect.! http://bbcbasic.conforums.com/index.cgi?board=ide&action=display&num=1517459362 Three changes will make official editor perfect.!
Post by kigohhere on Feb 1st, 2018, 03:29am
Hi, first, I want to say that the official editor is very useful. Actually, it is very good. I believe that many BBC BASIC users like it very much. I have three suggestions and they are actually three small changes. However, after these changes, the official editor will be quite perfect.
1. User can change the colours of Line numbers, DEFinitions, Keywords, REMarks, String and The rest in the official editor, It is very, very nice...sure! If user can also change the background colour inside the editor, it will be very wonderful. Why? Many professional programmers need to use the official editor to write BBC BASiC programs for a long time each day. Their eyes are quite tired after several hours of using the editor with a white background. Many of the professional programmers hope to have a background in dark colour. For example, black, brown, etc. This is a small change but this small change can make professional programmers love BBC for SDL more.
2. There are 48 colours for users to choose. I suggest that user can also enter RGB value(For example, (255,255,255)) to select colours for each kind of text. It means that they can select colours other than the 48 colours. It is a small change but it is not trivial. Many new users may not know the full potential of BBC for SDL. Actually, BBC for SDL is a very powerful software. Nevertheless, the official editor makes the first impression. First impression has a significant effect on whether each user will keep on using BBC for SDL or delete it from hard disk.
3. The third change is very important for newcomers or beginners but it is still a small change. The official editor can only open one file. The editors of other BASIC dialects(with very large user bases) does not do like that, for example, PureBasic, FreeBasic, AppGameKit Basic, etc. Normally, beginner always need to open different example files because it is convenient for them to copy some code from these different examples files to their own file to modify, test and learn. If the editor can only open one file, many newcomers may abandon BBC for SDL after a few times of trying.
Finish, these are my suggestions. I hope that my suggestions will help BBC BASIC to increase the user base considerably! Re: Three changes will make official editor perfec
Post by Richard Russell on Feb 1st, 2018, 09:14am
Hi, first, I want to say that the official editor is very useful.
For clarity, are you talking about the BB4W (BBC BASIC for Windows) editor or one of the BBCSDL (BBC BASIC for SDL 2.0) editors - my SDLIDE or Andy Parkes' BBCEdit? In the case of BBCSDL there is no "official editor".
As far as the BB4W editor is concerned, there are solutions for all your points: the background colour can be changed in Windows settings, the syntax colouring can be set to any RGB value and there is an add-on utility (Module Viewer) which provides multi-tabbed editing.
I don't know what options are available for Andy Parkes' BBCEdit editor, since I'm not very familiar with it. I am sure he would appreciate feedback on any features you may feel can be improved.
In the case of SDLIDE, the only one of your 'wish list' items for which there is currently a workaround is the ability to set the syntax colours to RGB values: that is possible by editing the 'sdlide.ini' file. To make the background colour configurable might require 'losing' a colour elsewhere, since the BBC BASIC palette of 16 colours is already fully utilised.
3. The third change is very important for newcomers or beginners but it is still a small change. The official editor can only open one file.
A small change? I trust that your tongue was firmly in your cheek when you wrote that!
My workaround for only being able to open one file at a time is to open multiple copies of the editor. You can then copy-and-paste between them using the clipboard.
In general, if you want changes or enhancements to the editor then feel free to make them yourself! SDLIDE.bbc and BBCEdit.bbc are both written entirely in BBC BASIC code; this is partly to ensure platform-independence but also means that (unlike the BB4W editor) they are amenable to modification by any competent programmer.
If you make any changes that you think might be of general interest, I would be happy to consider incorporating them in the distributed version.
Richard. Re: Three changes will make official editor perfec
Post by kigohhere on Feb 1st, 2018, 12:43pm