Discussion:
[Notepad-plus-plus] [notepad-plus - Help] v5.1 typing a colon ":" removes all indention
SourceForge.net
2008-12-01 03:35:37 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5741168
By: phaxmohdem

I've never had this problem until I upgraded to 5.1, but when editing in PHP
mode, every time I type a colon ":" it always removes all indention for the
line I am typing on. Very annoying. Any fixes, or should I just revert to
a previous version.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-12-01 03:42:18 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5741184
By: phaxmohdem

Found out this is related to the nppAutoIndent plugin, and only happens in "smart
Indent" mode. don't know how to fix this though besides turning off smart
indent.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-12-02 14:49:27 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5747886
By: onlysoaa

I just posted about this problem without seeing this thread. It's annoying indeed;
I with we could have a better auto-indent.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-12-05 05:27:22 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5760138
By: townba

If you're comfortable downloading and changing the code for NppAutoIndent, you
can find and change the line:

return LineLabel;

to

return LineOpen;

I've posted a modified version of both the ANSI and Unicode DLLs here:

http://cid-6c4c1a7c77d5eb1a.skydrive.live.com/self.aspx/Public/NppAutoIndent%7C_
fixedcolonindent.zip


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
Nick
2012-05-27 02:15:39 UTC
Permalink
Post by SourceForge.net
https://sourceforge.net/forum/message.php?msg_id=5760138
By: townba
If you're comfortable downloading and changing the code for NppAutoIndent, you
return LineLabel;
to
return LineOpen;
http://cid-6c4c1a7c77d5eb1a.skydrive.live.com/self.aspx/Public/NppAutoIndent%7C_
fixedcolonindent.zip
SourceForge.net <***@...> writes:
I know this is a very old thread, but no other auto-indent solution has come
along since, which is pretty sad.
Would anyone know the code to changing NppAutoIndent so that the "#" doesn't do
this as well (typing a # as the first character of a line treats the line as a
comment, i.e. disables smart indent for that block and removes all indentation
for that line)? This becomes a major pain when typing CSS.

SourceForge.net
2008-12-14 11:12:24 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5812025
By: a2h

I have this problem too! Got a version mismatch error with Bradley's fix, but
I still seem to have working indents without the : problem. Woo!

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-12-14 11:16:01 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5812034
By: a2h

Bah, the error's recurring. I'm on version 5.1, so I don't see what's wrong...

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2008-12-17 17:37:48 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5832011
By: esvandiary

I've had this problem for the last week or so.
Just tried Bradley's fix, and it did the trick nicely for me.

Thanks very much Bradley!

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
Loading...