My suggestion: convert tabs to 4 spaces. I believe 4 spaces per tab is 
what the script editor does already anyways, for keyboard input.



bye,
LC
Am Mittwoch, 23. November 2011 schrieb Ricky:
> Interesting. On my Mac the tabs display in the Viewer's editor as
> single spaces.  My Win7 box shows the squares.  Didn't test Linux.
>  Definitely looks like a font issue, though I think that the best
> solution is to just make the Viewer's editor accept tabs - maybe
> even have the option to specify how much indentation a "tab" gives
> or to even switch between using tabs or using spaces.  This
> wouldn't be far from existing programmer-level editors.
> 
> Ricky
> Cron Stardust
> 
> On Wed, Nov 23, 2011 at 10:58 AM, Moriz Gupte 
<moriz.gu...@gmail.com> wrote:
> > found another glitch:
> > I'm developing scripts in eclipse with lslforge. When I "compile"
> > a script in eclipse and then load it using this patch, tabstops
> > are converted into IDunnoWhat (it shows as little squares in the
> > script editor).
> > 
> > 
> > This behavior is familiar to me as well. I use LSL Editor, the
> > script displays fine when read in the LSL Editor but within SL,
> > I find that the script file shows little squares. I imagine it
> > must be an issue related to incompatible fonts used, may be?
> > 
> > On Wed, Nov 23, 2011 at 11:36 AM, Kadah Coba 
<kadah.c...@gmail.com> wrote:
> >>    This is an automatically generated e-mail. To reply, visit:
> >> http://codereview.secondlife.com/r/516/
> >> 
> >> On November 20th, 2011, 6:53 a.m., *Lance Corrimal* wrote:
> >> 
> >> found another glitch:
> >> I'm developing scripts in eclipse with lslforge. When I
> >> "compile" a script in eclipse and then load it using this
> >> patch, tabstops are converted into IDunnoWhat (it shows as
> >> little squares in the script editor).
> >> 
> >>  On November 20th, 2011, 10:29 a.m., *Ima Mechanique* wrote:
> >> I'm not familiar with lslforge, but I'll look into it. Are you
> >> sure they're valid tabs? I ask because it handles tabs from LSL
> >> Editor without a problem.
> >> 
> >>  On November 20th, 2011, 11:50 a.m., *Ima Mechanique* wrote:
> >> Looks like this is a bug I've introduced recently, as it is also
> >> affecting my LSL Editor created files now. :-( Trying to track
> >> it down, as soon as I can work out how to go back to a specific
> >> revision in Hg.
> >> 
> >>  On November 20th, 2011, 1:48 p.m., *Ima Mechanique* wrote:
> >> Damn.  SL's text editing windows do not like tabs. When
> >> copy/pasting the tabs are converted to spaces, but not when
> >> inserting text. I'll look at finding a way around this.
> >> 
> >>  I don't remember any in-viewer text input ever liking \t
> >>  particulary. It might be best, or at least easier or safer, to
> >>  just convert them to spaces on import.
> >> 
> >> - Kadah
> >> 
> >> On November 22nd, 2011, 5:17 p.m., Ima Mechanique wrote:
> >>   Review request for Viewer.
> >> 
> >> By Ima Mechanique.
> >> 
> >> *Updated Nov. 22, 2011, 5:17 p.m.*
> >> Description
> >> 
> >> Changes to allow opened script window to save/load to/from files
> >> on the users computer.
> >> 
> >>   Testing
> >> 
> >> Successfully opened and saved scripts from/to local files.
> >> 
> >>   *Bugs: *
> >>   https://jira.secondlife.com/browse/storm-1708<http://jira.sec
> >>   ondlife.com/browse/https://jira.secondlife.com/browse/storm-17
> >>   08>
> >> 
> >> Diffs
> >> 
> >>    - doc/contributions.txt (a1319d553db9)
> >>    - indra/llui/lltexteditor.h (a1319d553db9)
> >>    - indra/llui/lltexteditor.cpp (a1319d553db9)
> >>    - indra/newview/llfilepicker.h (a1319d553db9)
> >>    - indra/newview/llfilepicker.cpp (a1319d553db9)
> >>    - indra/newview/llfloaternamedesc.h (a1319d553db9)
> >>    - indra/newview/llfloaternamedesc.cpp (a1319d553db9)
> >>    - indra/newview/llpreviewscript.h (a1319d553db9)
> >>    - indra/newview/llpreviewscript.cpp (a1319d553db9)
> >>    - indra/newview/llviewerfloaterreg.cpp (a1319d553db9)
> >>    - indra/newview/skins/default/xui/en/panel_script_ed.xml
> >>    (a1319d553db9)
> >> 
> >> View Diff <http://codereview.secondlife.com/r/516/diff/>
> >> 
> >> _______________________________________________
> >> Policies and (un)subscribe information available here:
> >> http://wiki.secondlife.com/wiki/OpenSource-Dev
> >> Please read the policies before posting to keep unmoderated
> >> posting privileges
> > 
> > --
> > 'Consider how the lilies grow. They do not labor or spin.'
> > *Rameshsharma Ramloll* PhD, *Research Associate Professor*, Idaho
> > State University, Pocatello, ID 83209 Tel: 208-282-5333
> > Blog <http://deepsemaphore.posterous.com/>,
> > LinkedIn<http://www.linkedin.com/in/rameshramloll> , Play2Train
> > <http://www.play2train.org>
> > 
> > 
> > _______________________________________________
> > Policies and (un)subscribe information available here:
> > http://wiki.secondlife.com/wiki/OpenSource-Dev
> > Please read the policies before posting to keep unmoderated
> > posting privileges

_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to